About the colors of CSS

Source: Internet
Author: User

    1. Foreground color refers to the actual color of a element, styled with the property color .
    2. Background color refers to the color behind a element, styled with the property background-color .
    3. There is 147 named colors available.
    4. RGB and hexadecimal colors offer over million color possibilities.
    5. HSL is a new to defining colors in CSS3.
    6. You can modify the opacity for a color with RGBa or HSLa colors.
    7. 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.
    8. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.