(vi) Learn the color properties of CSS

Source: Internet
Author: User
Tags border color

Reference: http://www.w3school.com.cn/cssref/pr_text_color.asp

The Color property specifies the colors of the text.

This property sets the foreground color of an element (in HTML representation, the color of the element text), and the raster image is not affected by color. This color is also applied to all borders of the element, unless overridden by a border-color or another border color property.

The easiest way to set the foreground color of an element is to use the Color property.

             The value description Color_name a color     that specifies the color value as a color name (such as red). Hex_number a     color that specifies a hexadecimal value (such as #ff0000). Rgb_number     Specifies the color value of the RGB code (such as RGB (255,0,0)). Inherit        specifies that the color should be inherited from the parent element. 

(vi) Learn the color properties 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.