# Thread: How the hex values work with color HTML

1. ## How the hex values work with color HTML

I hope you all find this usefull!
This is actually really simple to grasp and understand. Now remember the "primary colors" red, blue, and yellow? They are "Primary" because no other colors can make them. Example: Red and Blue make Purple. But no two colors combined can make red or blue. With me? Now, the hex values work in a similar way. Except, it uses Red, Green, and Blue. Why? Well green consists of yellow. Meaning actually 4 colors are used in this hex system because green has yellow in it. So red, green, yellow, and blue are used. Hex uses 6 digits to determine a color. I will explain more about that later. There are 16 digits for color values. They are
0 1 2 3 4 5 6 7 8 9 A B C D E F
0 is the smallest representation of a number. Meaning it's pretty much no color at all. While F is 15 times times the intensity of 0. The rest of the digits are in order of intensity. Double 0 (00) is zero hue. While double F (FF) is equal to pure color. Example, 000000 is black, while ffffff is white. This color representation is done three times, once for red, once for green, and once for blue, in that order. Put the three, two-digit, codes together and you get a 6-digit hex code. The hex code is just a representation of the red, green, and blue intensity, in that order. The computer creates the three intensities, mashes them together, and you get a single shade of color.
Here are a few examples,
Yellow
FFFF00
Now let's look at that for a second. The Red and Green are fully lit. (Both at max "FF") and blue is at 00. By mashing Green and red together the red cancels out the blue in green and all that is left is yellow. Pretty cool right?
Orange
FFA500
Red is fully lit. Quite a bit of green and no blue.
Green
66FF00
There is quite a bit of red and max green. And once again no blue.

I hope this helped guys and if you have any questions let me know.

1

2. Okay, I get it. So if I take red (#FF0000) OR With alpha, (#FFFF0000"), it get's darker each time you go? Nice share and this is very useful.

0

3. Originally Posted by B.M.O
Okay, I get it. So if I take red (#FF0000) OR With alpha, (#FFFF0000"), it get's darker each time you go? Nice share and this is very useful.
Exactly. So FE0000 Will be darker than FF0000. But it is very hard to tell. While AA0000 is more noticeable.

1

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•
All times are GMT -10. The time now is 08:19 PM.