What I know about Web development (3)-The color of the rainbow

Source: Internet
Author: User

It is said that the rainbow has colorful colors, from the outside to the inside: red, orange, yellow, green, green, blue, purple. I'm not sure about that, but there's more than one color-blind test in the school age, or I'm convinced that the colour resolution should be similar to most people.

I also heard that most mammals are color-blind. such as cattle, sheep, horses, dogs, cats, and so on, almost will not distinguish between color, reflected in their eyes of the color, only black, white, gray 3 kinds of Yan, they only need to see the movement of the object is enough, so did not evolve to recognize the ability of a variety of colors. Our ancestors had a need to identify colors by the time they lived on fruit, and to distinguish what was ripe fruit by color.

Web page design, color scheme is a very important link, do not need to select the type of site to choose the right color scheme, color collocation to reflect the theme of the site, but also must take into account the user's psychological response. More representative of the Wenchuan after the earthquake, the major portal site overnight changed directly into a gray color, I believe we can feel the sadness. After this year we make a cake booking site, the designer is basically using chocolate color as the main color, the site was not long before the offline, chocolate color and the previous portal of the gray tone is too close.
Color scheme and color psychology is a very worth playing with the direction, but I am also a layman, today is just a simple introduction of color coding and recognition.

As a web developer, there may be few opportunities to design a recipe for a website as a whole, but color recognition and color coding are important to understand. University in the classroom heard Shannon information theory fur, according to his old theory, the message before sending to encode, after receiving to decode, in order to complete a normal communication.
ASCII, utf-8,gbk,gb2312 these encoding and decoding specifications I believe everyone is familiar with it, if there is no suggestion to ask the mother.

How to encode colors in web development?

Color name Chinese name RGB16 in the system RGB10 in the system Etymology/Notes
AliceBlue Alice Blue #F0F8FF 240, 248, 255 Former President Theodore Roosevelt's eldest daughter Alice Rossford Langworth created fashion color
Antiquewhite Antique White #FAEBD7 250, 235, 215
  
AquaMarine Green #7FFFD4 127, 255, 212 Also made "blue", but its main hue is green
Azure Green White #F0FFFF 240, 255, 255 This is blue, but in the web color is a light


The CSS supports the English name, RGB16, and RGB10 encoded form.

. Divcss3{color: #FF0000}.divcss3{color:red}.divcss3{color:rgb (255,0,0);}


When the browser receives the encoded information, it can render the color you want.

What I know about Web development (3)-The color of the rainbow

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.