Colors
v
rgb
color=”rgb(red, green, blue)”), 三个参数分别为红, 绿, 蓝色度, 数值为0-255, 不同的值会调和出不同的色彩
如: "rg b(255, 100, 100)"
"rg b(100, 100, 100)"
v
Rgba RGB的进化…多一个参数,表示透明度(transparent)
rgba(red, green, blue, persont(0-1))
前三个参数同RGB的三参数, 最后一个表示透明度, 值的范围是0-1.
v
HSL
Color – code picture in http://www.w3.org/TR/2003/CR-css3-color-20030514/#numerical
Hsl (a, b, c)
a: the Saturation number
b: the row number
c: the col number
v
Hsla
the same as rgna, will have an additional
parameter is transparent