- Foreground color refers to the actual color of a element, styled with the property
color
.
- Background color refers to the color behind a element, styled with the property
background-color
.
- There is 147 named colors available.
- RGB and hexadecimal colors offer over million color possibilities.
- HSL is a new to defining colors in CSS3.
- You can modify the opacity for a color with RGBa or HSLa colors.
- Not all browsers support newer CSS features, like opacity or HSL, so additional declarations should is made to support a W IDE audience of users.
- There is many color picker resources available on the Internet to help you select specific colors, as well as provide COL ORS in different formats.
President
1, the foreground color is for an element of colors, through the color property to be developed.
2, the background color is behind the elements of colors, through the Background-color property to make.
3, there are 147 kinds of colors that can be replaced by the name. (Ps:http://www.colors.commutercreative.com/grid/)
4, RGB and hexadecimal number to indicate that there are 16 million possibilities.
5. HSL is a new way of defining colors in CSS3.
6, adjust the transparency of a color can be made with RGBA and Hsla attributes. (where the value of a is between 0~1)
7. Not all browsers support the new CSS framework.
About the colors of CSS