Colors

v  rgb

color=”rgb(red, green, blue)”), 三个参数分别为红, 绿, 蓝色度, 数值为0-255, 不同的值会调和出不同的色彩

 

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-09-04
  • 2021-05-17
  • 2021-07-18
  • 2022-12-23
猜你喜欢
  • 2021-07-11
  • 2021-07-01
  • 2021-12-19
  • 2022-12-23
  • 2021-11-13
  • 2022-12-23
  • 2022-02-07
相关资源
相似解决方案