標籤:support not different rgb 方法 屬性 nal .com css3
- Foreground color refers to the actual color of an element, styled with the
color property.
- Background color refers to the color behind an element, styled with the
background-color property.
- There are 147 named colors available.
- RGB and hexadecimal colors offer over 16 million color possibilities.
- HSL is a new way of defining colors in CSS3.
- You can modify the opacity of a color with RGBa or HSLa colors.
- Not all browsers support newer CSS features, like opacity or HSL, so additional declarations should be made to support a wide audience of users.
- There are many color picker resources available on the Internet to help you select specific colors, as well as provide colors in different formats.
譯文:
1、前景色彩是針對一個元素的顏色,通過color屬性來制定。
2、背景色是元素後面的顏色,通過background-color屬性來制定。
3、這裡有147種可以用名字代替的顏色。(PS:http://www.colors.commutercreative.com/grid/)
4、RGB和十六進位數來表示有16百萬種可能。
5、HSL是一個新的定義顏色的方法在css3中。
6、調整一個顏色的透明度可以用RGBa和HSLa屬性來制定。(其中,a的值在0~1之間)
7、並不是所有的瀏覽器都支援新的css架構。
關於css的顏色