One of the core elements to design a really good looking website is to find the right mix of color use in the webpages. For this you need to carefully select the 3-4 primary shades of the same color to ensure that consistency is maintained across the website and it looks pleasing to eyes. Unfortunately, it is hard to computers to distinguish between similar looking shades of same colors.
More importantly, different browsers may render different shades of color of same color differently causing variance. To avoid repetition and remove confusion across all these lines, it works best for the web designers to let the web browsers understand which color shade to by making the computer easy to understand in its own terminology. Here is where the concept of HTML color codes comes in.
Core Concept of HTML color code:
The concept of HTML color codes imply that all colors in HTML pages are represented exactly by their hexadecimal values which is typical uniform across all web browsers. For this, designers have to explicitly mention the RGB (Red, Blue and Green) saturation value, which determines the shade of the color selected for a given color. If you mention these hexadecimal values in the coding and design phase of the HTML and CSS page itself, much better color shade consistency can be made which allows for uniform interpretation of the colors across all the web browsers.
However, these hexadecimal color RGB values have a flipside to it. It is simply not possible for a human mind to remember this vast array of so many shades of different primary colors. To resolve this problem, web designers frequently take help of the visual tool called as HTML color picker which is supposedly like a color palette which shows the different shades of the colors and giving a visual dashboard for the designer to easily select his desired shade of a chosen color.
An embedded algorithm in the color palette takes care of the RGB values which indicate the desired hue and saturation values automatically in the boxes below. Once the selection has been made, the web designer simply has to feed this #hex value to the HTML code and view the results on the browser. This way, the entire problem of color selection is resolved.
This Hex value of colors usually comprises in series of 6 digits/letters in bold. Every variation in the hex numeric values directly indicates the color variation in the color palette. The color palette has two extreme ends Pure White and Pure Black which are indicated by their values #FFFFFF and #000000 respectively.There are also certain colors which look the same on each OS. These are called web safe colors. Only a person having a problem of color blindness will have trouble seeing them.
Key Features of HTML Color code:
HTML color codes format consists of the many characteristics. Each HTML color code is preceded by “#” symbol followed by 6 letters / numbers mentioned in hexadecimal format. Each 2 bits indicate the intensity of Red, Green and Blue (RGB) color values. The intensity of the red color is indicated by the first two symbols. For Pure Black color 00 is the least intense and Pure White color has FF with the most intensity.
Consecutively, symbols on third and fourth place represent the intensity of Green color; with fifth and sixth symbols representing the intensity of blue color. By mixing the intensity of red, green and blue colors we can have almost any color we want.