Understanding Hex Colors

0
7

The main language of the web is HTML code. HTML code allows a webmaster to create and write web pages that have text, pictures, links and sounds that are all on one page. However, the HTML color codes are used for a variety of different things in the basic HTML code language.

Now, the basic HTML code is the Hex Colors. Hex Colors come in a combination of blue, red, and green values. The Hex color values are represented and displayed by three-double digit numbers. This can be found in a utility that takes the code (for example- #RRGGBB) and then converts it into decimal color values (the blues, reds, and greens).

With Hex Color Code, the six digits are separated into three distinct groups and those groups are given values from 0 to F. The Hexadecimal color system is counted in 0 1 2 3 4 5 6 7 8 9 ABCDE F. Thus 0 is the Null Value and F is the highest value. You can even mix and define your own colors.

There are a lot of ways to color a website. There are about 16.7 million different hex colors. # 000000 is the Hex Color Code for black. #FFFFFF Is the Hex Color Code for white. However, if you want to make sure your site is compatible for different monitors and LCD settings, you need to understand and use ‘web safe’ colors to avoid dithering web pages.

Knowing the code is not mandatory to create a website but it is a good practice to know it to manually change the color.

Source

Leave a Reply