Colorful Web page (2) The basic knowledge of color

Source: Internet
Author: User
Tags key
Web Page 1. Color is caused by refraction of light.

2. Red, yellow and blue are three primary colors, and other colors can be reconciled with these three colors. The color expression in the HTML language of the Web page is expressed in the values of these three colors, for example: Red is color (255,0,0) hexadecimal notation (FF0000) white for (FFFFFF), we often see the "bgcolor= #FFFFFF" refers to the background color is white.

3. Color is divided into two categories, color and color. Non-color refers to black, white, gray system color. Color refers to all colors except non color.

4. Any color has saturation and transparency of the property, the property changes to produce different hue, so at least millions of colors can be produced.

is the Web page made in color or non color? According to a professional research institute, the color effect of memory is 3.5 times times that of black and white. That is to say, in general, color pages are more appealing than full Black-and-white pages.

Our usual practice is: to consider the home page background (background color) deep, shallow, here borrow a term in photography, is "high-profile" and "low-key." Shallow background is called high profile, deep background is called low-key. Deep background, the color of the text will be shallow, with a dark backdrop to foil light content (text or pictures); On the contrary, the background light, the color of the text will be deeper, with a light background to foil the dark content (text or pictures). This kind of depth change is called "lightness change" in the color science. Some homepage, the background color is black, but the text also chooses the darker color, because the color brightness is close, the reader when reading, the eye will feel very laborious, has affected the reading effect. Of course, the lightness of color can not change too much, otherwise the brightness contrast on the screen is too strong, also can make the reader's eyes unbearable.



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.