Web color mode

Source: Internet
Author: User
Tags comparison table
The Web RGB mode is based on the RGB color model, and the RGB model relies on mixing different red. Green. Blue values to create most of the colors in the color spectrum. RGB mode is primarily used for images displayed on the computer
In RGB mode, each image element (image number) in the image is assigned three values between 255 and 0. They represent red. Green blue. In RGB mode, these 3 color components can be adjusted to represent almost any color, including black. White and various shades of gray. For pure black, The 3 RGB values are set to 0, and for white all 3 values are set to 255-max. Gray is established by setting the 3 values to the same value. All Web images were developed in RGB mode at the beginning, Because this format is appropriate for all graphics on your computer. The color of the computer's reproduction on the monitor is achieved by the red. Green. Blu-ray: RGB Color comparison table

B.indexed Color Mode
The indexed color model is developed to display images on Web pages and other computer-based multimedia . The pattern limits the image to no more than 256 colors, mainly to ensure that the file will have a small size. The index color is up to 256 colors.

The following table lists the color names and RGB values for the 16 colors in the Windwos VGA palette. These color names are the standard in the HTML4 specification, and most browsers recognize these colors, which appear consistent on the Windows system and are fairly accurate

Windows basic colors and names
Color name RGB Value
Aquamarine #00FFFF
Navy blue #000080
Black #000000
Olive Green #808000
Blue #0000FF
Purple #800080
Purple #FF00FF
Red #FF0000
Ash #808080
Silver #C0C0C0
Green #008000
Blue #008080
Stone Grey #00FF00
White #FFFFFF
Brown #800000
Huang #FFFF00




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.