What is an HTML color table, and what is it for?
Designing the site, especially developing its design withscratch, many face such a problem as coloring the page of the site, tables, text. In many site designers there are special modules and buttons, with the help of which these parameters are set. But not all of them have a wide functional. That's where the HTML color table comes in.
What is a color chart
In programming, regardless of language,Many commands and parameters are given by special short notation. The language of HTML markup was not an exception. It has a fairly wide range of commands and notations.
In order to colorize the page element ortext in the right hue, you should know about such a concept as a table of HTML color codes. It contains the basic codes of a particular color or shade. Using them, you can specify the tone of any element by registering it in a specific tag.
The color code always starts with a grid sign (#). For example, the black code will look like this: "# 000000".
It is worth noting that some webmasters use a truncated version of the code, using only three characters - one from each pair. But still we recommend that you use the generally accepted designations.
What are the color tables for HTML?
The HTML color table is presented in severalvariants. The first is the base colors. There are only sixteen of them. This includes colors such as red, gray, silver, white, black, green, blue, blue, yellow and others. They are quite convenient to use for text processing, as they are all quite saturated and bright. Then you can select the so-called "Safe Color Chart", which has 216 shades displayed on any video card. This table is fairly easy to find in any HTML tutorial. It should be noted that it is suitable if you are directly engaged in the design of a site or page, and you need exactly the shades of colors - both saturated and light enough and barely noticeable.
Than to replace?
What if I do not have a color chart at hand? This option can not be excluded, even though it is widely used and refers to open and accessible information.
If you do not have the opportunity to find this material,you can record the color as a percentage. At the same time, you will not need a grating sign. But to set the shade in this way is rather difficult and dreary, since you will never know in advance what you can get. The record in this format might look like this: "10P%". However, we do not recommend this method of color recording. The HTML color table will be much more reliable than such experiments.
The third way to specify a color is to write its namein English. Basically, browsers read and adequately perceive the names of the primary colors, as well as their shades marked with the values dark (dark), light (light). For example, black color is set as Black, and dark red is set to DarkRed.
conclusions
The HTML color table is one of the most important things that web designers need to know. With its help you can "colorize" pages of the site, text, tables and other elements.
The table contains the most commonly used colors and their codes, consisting of three pairs of signs indicating the intensity of red, green and blue colors. You can find it in any HTML tutorial.
If you do not have a table at hand, you can set the color using its name in English.