...的使用者可读的内容type-这个属性的类型,可能的type所表示的内容有以下几种:Colo-一种颜色,由RGBA(红绿蓝和透明度)四个量来定义;2D-一张2的阶数大小(256,512之类)的贴图。
基于18个网页-相关网页
Both of these colors use the rgba function to specify the red-green-blue values, plus an alpha transparency value.
这两种颜色都使用rgba函数来指定“红-绿-蓝”值,以及一个alpha透明度值。
Don't forget you can use RGBA values for the shadow color.
别忘了,你可以在阴影颜色中应用rgba值。
Use HSLA instead of RGBA for semi-transparent white, as it has slightly fewer characters and is quicker to type, due to the lack of repetition.
推荐使用hsla而不是rgba来产生半透明的白色,因为它的字符长度更短,打起来也更快。这归功于它的重复度更低。
应用推荐