The colors are mixed in red, green, and blue.
Color values
The color is defined by a hexadecimal symbol, which consists of red, green, and blue values (RGB).
The minimum value for each color is 0 (16 binary: #00). The maximum value is 255 (16 binary: #FF).
This table gives the exact effect of mixing three colors:
Color |
Color HEX |
Color RGB |
|
#000000 |
RGB (0,0,0) |
|
#FF0000 |
RGB (255,0,0) |
|
#00FF00 |
RGB (0,255,0) |
|
#0000FF |
RGB (0,0,255) |
|
#FFFF00 |
RGB (255,255,0) |
|
#00FFFF |
RGB (0,255,255) |
|
#FF00FF |
RGB (255,0,255) |
|
#C0C0C0 |
RGB (192,192,192) |
|
#FFFFFF |
RGB (255,255,255) |
Color name
Most browsers support a collection of color names.
Tip: Only 16 color names are supported by the HTML4.0 standard. They are: Aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, yellow.
If you need to use a different color, you need to use a hexadecimal color value.
Color |
Color HEX |
Color Name |
|
#F0F8FF |
AliceBlue |
|
#FAEBD7 |
Antiquewhite |
|
#7FFFD4 |
Aquamarine |
|
#000000 |
Black |
|
#0000FF |
Blue |
|
#8A2BE2 |
Blueviolet |
|
#A52A2A |
Brown |
Web-Safe color
Several years ago, when most computers supported only 256 colors, a series of 216 web-safe colors were recommended as web standards. The reason for this is that the Microsoft and Mac operating systems use 40 different fixed system colors (approximately 20 for each of the two sides).
We're not sure how much this is going to be, because more and more computers have the ability to handle millions of different colors, but it's up to you to choose.
216 Cross-platform color
Initially, the 216 cross-platform web-safe color was used to ensure that all computers were able to display all colors correctly when the computer was using a 256-color palette.
000000 |
000033 |
000066 |
000099 |
0000CC |
0000FF |
003300 |
003333 |
003366 |
003399 |
0033CC |
0033FF |
006600 |
006633 |
006666 |
006699 |
0066CC |
0066FF |
009900 |
009933 |
009966 |
009999 |
0099CC |
0099FF |
00cc00 |
00cc33 |
00cc66 |
00cc99 |
00CCCC |
00CCFF |
00ff00 |
00ff33 |
00ff66 |
00ff99 |
00FFCC |
00FFFF |
330000 |
330033 |
330066 |
330099 |
3300CC |
3300FF |
333300 |
333333 |
333366 |
333399 |
3333CC |
3333FF |
336600 |
336633 |
336666 |
336699 |
3366CC |
3366FF |
339900 |
339933 |
339966 |
339999 |
3399CC |
3399FF |
33cc00 |
33cc33 |
33cc66 |
33cc99 |
33CCCC |
33CCFF |
33ff00 |
33ff33 |
33ff66 |
33ff99 |
33FFCC |
33FFFF |
660000 |
660033 |
660066 |
660099 |
6600CC |
6600FF |
663300 |
663333 |
663366 |
663399 |
6633CC |
6633FF |
666600 |
666633 |
666666 |
666699 |
6666CC |
6666FF |
669900 |
669933 |
669966 |
669999 |
6699CC |
6699FF |
66cc00 |
66cc33 |
66cc66 |
66cc99 |
66CCCC |
66CCFF |
66ff00 |
66ff33 |
66ff66 |
66ff99 |
66FFCC |
66FFFF |
990000 |
990033 |
990066 |
990099 |
9900CC |
9900FF |
993300 |
993333 |
993366 |
993399 |
9933CC |
9933FF |
996600 |
996633 |
996666 |
996699 |
9966CC |
9966FF |
999900 |
999933 |
999966 |
999999 |
9999CC |
9999FF |
99cc00 |
99cc33 |
99cc66 |
99cc99 |
99CCCC |
99CCFF |
99ff00 |
99ff33 |
99ff66 |
99ff99 |
99FFCC |
99FFFF |
CC0000 |
CC0033 |
CC0066 |
CC0099 |
cc00cc |
Cc00ff |
CC3300 |
CC3333 |
CC3366 |
CC3399 |
cc33cc |
Cc33ff |
CC6600 |
CC6633 |
CC6666 |
CC6699 |
cc66cc |
Cc66ff |
CC9900 |
CC9933 |
CC9966 |
CC9999 |
cc99cc |
Cc99ff |
CCCC00 |
CCCC33 |
CCCC66 |
CCCC99 |
Cccccc |
Ccccff |
CCFF00 |
CCFF33 |
CCFF66 |
CCFF99 |
Ccffcc |
Ccffff |
FF0000 |
FF0033 |
FF0066 |
FF0099 |
ff00cc |
Ff00ff |
FF3300 |
FF3333 |
FF3366 |
FF3399 |
ff33cc |
Ff33ff |
FF6600 |
FF6633 |
FF6666 |
FF6699 |
ff66cc |
Ff66ff |
FF9900 |
FF9933 |
FF9966 |
FF9999 |
ff99cc |
Ff99ff |
FFCC00 |
FFCC33 |
FFCC66 |
FFCC99 |
Ffcccc |
Ffccff |
FFFF00 |
FFFF33 |
FFFF66 |
FFFF99 |
Ffffcc |
FFFFFF |