English
German

HTML Color Codes

HTML Color Coding System

There are 3 different methods to set color. The simplest being the Generic terms of colors. Examples: black, white, red, green, and blue. Generic colors are preset HTML coded colors where the value is simply the name of each color. Here is a sample of the most widely supported colors and their respective name values.


HTML Coloring System RGB Values

We do not recommend that you use RGB for safe web design because non-IE browsers do not support HTML RGB. However, if you plan on learning CSS then you should glance over this topic.

RGB stands for Red, Green, Blue. Each can have a value from 0 (none of that color) to 255 (fully that color). The format for RGB is - rgb(RED, GREEN, BLUE), just like the name implies. Below is an example of RGB in use, but if you are not using a browser that supports it, do not worry, that is just one of the problems with HTML RGB.

Red, Green, and Blue Values:

bgcolor="rgb(255,255,255)"    White
bgcolor="rgb(255,0,0)"    Red
bgcolor="rgb(0,255,0)"    Green
bgcolor="rgb(0,0,255)"    Blue


HTML Coloring System Hexadecimal

The hexadecimal system is complex and difficult to understand at first. Rest assured that the system becomes much, MUCH easier with practice and as a blossoming web developer, it is critical to understand hexadecimals to be capable of using them in your own web publications. They are far more reliable and widely compatible among web browsers and are the standard for colors on the internet.

A hexadecimal is a 6 digit representation of a color. The first two digits(RR) represent a red value, the next two are a green value(GG), and the last are the blue value(BB).

Here\'s a hexadecimal you might see in an HTML document.

My First Hexadecimal:

bgcolor="#RRGGBB"


HTML Color Code Breaking the Code

The following table shows how letters are incorporated into the hexadecimal essentially extending the numbers system to 16 values. Hang in there it all makes sense shortly.

Hexadecimal Color Values:
Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F

So use letters as numbers?We will answer this question as we dive into the converting hexadecimals to regular numbers. Let\'s have a look at real Hexadecimal.


HTML Tutorial,HTML Color Codes, HTML Color Codes example, learn HTML Color Codes,explain example HTML Color Codes online free training HTML Tutorial, HTML Tutorial example, learn HTML Color Codes, online tutorial, download tutorial, HTML Tutorial books, HTML Tutorial videos, live videos HTML Tutorial, learn HTML Tutorial, HTML Tutorial topic HTML Color Codes, live training HTML Tutorial, download free tutorial