Color Coding In HTML

Colors in HTML are built using a combination of three basic colors: red, green and blue. Each of these colors can take a value from 0 to 255 and are represented in hexadecimal notation (00 to FF). That said, color is composed of six characters where the first two represent the red, two seconds and two third green to blue. For example, the red color is made in HTML with "FF" for red (the first two characters) and "00" for the rest: "FF0000".

By mixing these values ​​resulting mixed colors, so you can create yellow by mixing red and green (for example, "FFFF00"), violet by mixing red and blue (for example, "FF00FF") or cyan to mix green and blue (for example, "00FFFF"). This works just like a painter's palette.

The color tone can also be changed by increasing (ex, light violet "FF66FF") or decreasing (ex dark violet "AA00AA") the three values ​​proportionally.

Note: the nature of this page, blind people may find the following useful map of colors poorly.

Color map

This color map shows a broad set of HTML colors can be used in HTML documents. The purpose of this chart is simply to show some color available. The extra functionality is available only in browsers that support JavaScript, and allows users to preview a selection of colors in a sample document.

To use this tool, you only need to select an item in the example at the end and start testing chart colors.

1 comment:

  1. Hey, nice description you got on color codes here.Created a link to my page.Keep on the good work.
    Patrick Pechmann