HTML Color Codes – How to Use, Types, Category Wise Codes with Color

If you are searching for the HTML color codes, we have listed down all the format of web colors i.e. Hex and RGB color code along with their names.
We all need some color to add shades in our lives. However, you need some sort of HTML color codes to make the online platform colorful.
So, if you are in search of HTML color codes then check this post, we have listed all the major web color codes category wise.
What are HTML Color Codes?
Color flourish the true beauty of an object. In daily life, we have various pens, color pencils, sketch pens, etc. but in the online world, we need some sort of digital values that are familiar to machines.
Therefore, a digitized value that represents a color on the World Wide Web (WWW) is called to be web color or HTML Color Code.
How to use HTML Color Codes?
To use HTML Color Codes, you just need some tags to beautify heading, background, tables, borders, or to color any other elements in a post.
Some Tags for using HTML Color Codes
You can use the following code to enrich various text (or elements) of a web page.
- Text: for body text color.
- bgcolor: for the background color of the page.
- link: color for linked text.
- alink: color for active links or selected links.
- vlink: color for visited links (or clicked link).
Types of HTML Color Coding Methods
There basically three types of HTML Color Coding methods that are used to present a color on the web. These are:
1. Color Names
They are just like, we name colors. These are simple color names that do not need any additional color codes or color values. Therefore, you can directly specify your preferred color as per their names.
However, there are only 16 basic color names that are proposed by W3C that you can use as HTML colors. These are Black, Gray, Silver, White, Yellow, Lime, Aqua, Fuchsia, Red, Green, Blue, Purple, Maroon, Olive, Navy, and Teal.
But, there are 200 different color names that are supported by the majority of web browsers.
Example: To make body text blue with a green background you can use the following code. <body text=”blue” bgcolor=”green”> respectively.
2. Hex Color Code
These are the most common and most widely used HTML color coding schemes. In this, there are a total of six alphanumeric values that represent three major color i.e. Red, Blue, and Green.
In addition, the “#” is used before the 6-digit alphanumeric code which is represented by the Hex Color Code: #RRGGBB.
However, Hex color code is also used in popular graphic design applications such as Adobe Photoshop, Paintshop, or MS Paint.
Example: In hex color code, blue color represented by #0000FF, while black is represented by #000000.
3. RGB Color Code
In the RGB color-coding system, the color value is generated by using a combination of the Red, Green, and Blue. All these combinations represent a different color with a specific value.
The RGB Color Code value ranges from 0 and 255 or a percentage which is in the series of red, green, and blue. So, a single color can have up to 256 different shades. And the total possible colors are 256*256*256*= 16777216 colors.
Example: The RGB Color code for black would be “rgb (0, 0, 0)”.
HTML Color Codes Chart (Color-Wise)
There is a total of 11 categories of HTML Color Codes that are commonly encountered on the web. And the most amazing thing, all the data in these tables are cross-checked. Therefore, you can rely on all the information that is represented in the following tables.
Red Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | Light Salmon |
#FFA07A |
(255,160,122)
|
2. | Salmon | #FA8072 |
(250,128,114)
|
3. | Dark Salmon |
#E9967A |
(233,150,122)
|
4. | Light Coral |
#F08080 |
(240,128,128)
|
5. | Indian Red |
#CD5C5C | (205,92,92) |
6. | Crimson | #DC143C | (220,20,60) |
7. | Firebrick | #B22222 | (178,34,34) |
8. | Red | #FF0000 | (255,0,0) |
9. | Dark Red | #8B0000 | (139,0,0) |
Orange Color Codes
S.No. | Color name | Hex Code | RGB Code |
1. | Coral | #FF7F50 |
rgb(255,127,80)
|
2. | Tomato | #FF6347 |
rgb(255,99,71)
|
3. | Orange Red | #FF4500 | rgb(255,69,0) |
4. | Gold | #FFD700 |
rgb(255,215,0)
|
5. | Orange | #FFA500 |
rgb(255,165,0)
|
6. | Dark Orange | #FF8C00 |
rgb(255,140,0)
|
Yellow Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | Light Yellow | #FFFFE0 |
rgb(255,255,224)
|
2. | Lemon Chiffon | #FFFACD |
rgb(255,250,205)
|
3. | Light Goldenrod Yellow | #FAFAD2 |
rgb(250,250,210)
|
4. | Papaya Whip | #FFEFD5 |
rgb(255,239,213)
|
5. | Moccasin | #FFE4B5 |
rgb(255,228,181)
|
6. | Peach Puff | #FFDAB9 |
rgb(255,218,185)
|
7. | Pale Goldenrod | #EEE8AA |
rgb(238,232,170)
|
8. | Khaki | #F0E68C |
rgb(240,230,140)
|
9. | Dark khaki | #BDB76B |
rgb(189,183,107)
|
10. | Yellow | #FFFF00 |
rgb(255,255,0)
|
Green Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | Lawn Green | #7CFC00 |
rgb(124,252,0)
|
2. | Chartreuse | #7FFF00 |
rgb(127,255,0)
|
3. | Lime Green | #32CD32 |
rgb(50,205,50)
|
4. | Lime | #00FF00 | rgb(0.255.0) |
5. | Forest Green | #228B22 |
rgb(34,139,34)
|
6. | Green | #008000 | rgb(0,128,0) |
7. | Dark Green | #006400 | rgb(0,100,0) |
8. | Green Yellow | #ADFF2F |
rgb(173,255,47)
|
9. | Yellow Green | #9ACD32 |
rgb(154,205,50)
|
10. | Spring Green | #00FF7F |
rgb(0,255,127)
|
11. | Medium Spring Green | #00FA9A |
rgb(0,250,154)
|
12. | Light Green | #90EE90 |
rgb(144,238,144)
|
13. | Pale Green | #98FB98 |
rgb(152,251,152)
|
14. | Dark Sea Green | #8FBC8F |
rgb(143,188,143)
|
15. | Medium Sea Green | #3CB371 |
rgb(60,179,113)
|
16. | Sea Green | #2E8B57 |
rgb(46,139,87)
|
17. | Olive | #808000 |
rgb(128,128,0)
|
18. | Dark Olive Green | #556B2F |
rgb(85,107,47)
|
19. | Olive Drab | #6B8E23 |
rgb(107,142,35)
|
Cyan Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | Light cyan | #E0FFFF |
rgb(224,255,255)
|
2. | Cyan | #00FFFF |
rgb(0,255,255)
|
3. | Aquamarine | #7FFFD4 |
rgb(127,255,212)
|
4. | Medium aquamarine | #66CDAA |
rgb(102,205,170)
|
5. | Pale turquoise | #AFEEEE |
rgb(175,238,238)
|
6. | Turquoise | #40E0D0 |
rgb(64,224,208)
|
7. | Medium turquoise | #48D1CC |
rgb(72,209,204)
|
8. | Dark turquoise | #00CED1 |
rgb(0,206,209)
|
9. | Light sea green | #20B2AA |
rgb(32,178,170)
|
10. | Cadet blue | #5F9EA0 |
rgb(95,158,160)
|
11. | Dark cyan | #008B8B |
rgb(0,139,139)
|
12. | Teal | #008080 |
rgb(0,128,128)
|
Blue Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | Powder Blue | #B0E0E6 |
rgb(176,224,230)
|
2. | Light Blue | #ADD8E6 |
rgb(173,216,230)
|
3. | Light Sky Blue | #87CEFA |
rgb(135,206,250)
|
4. | Sky-blue | #87CEEB |
rgb(135,206,235)
|
5. | Deep Sky Blue | #00BFFF | rgb(0,191,255) |
6. | Light Steel Blue | #B0C4DE |
rgb(176,196,222)
|
7. | Dodger Blue | #1E90FF |
rgb(30,144,255)
|
8. | Cornflower Blue | #6495ED |
rgb(100,149,237)
|
9. | Steel Blue | #4682B4 |
rgb(70,130,180)
|
10. | Royal Blue | #4169E1 |
rgb(65,105,225)
|
11. | Blue | #0000FF | rgb(0,0,255) |
12. | Medium Blue | #0000CD | rgb(0,0,205) |
13. | Dark Blue | #00008B | rgb(0,0,139) |
14. | Navy Blue | #000080 | rgb(0,0,128) |
15. | Midnight Blue | #191970 | rgb(25,25,112) |
16. | Medium Slate Blue | #7B68EE |
rgb(123,104,238)
|
17. | Slate Blue | #6A5ACD |
rgb(106,90,205)
|
18. | Dark Slate Blue | #483D8B | rgb(72,61,139) |
Purple Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | Lavender | #E6E6FA |
rgb(230,230,250)
|
2. | Thistle | #D8BFD8 |
rgb(216,191,216)
|
3. | Plum | #DDA0DD |
rgb(221,160,221)
|
4. | Violet | #EE82EE |
rgb(238,130,238)
|
5. | Orchid | #DA70D6 |
rgb(218,112,214)
|
6. | Fuchsia | #FF00FF | rgb(255,0,255) |
7. | Magenta | #FF00FF | rgb(255,0,255) |
8. | Medium Orchid | #BA55D3 |
rgb(186,85,211)
|
9. | Medium Purple | #9370DB |
rgb(147,112,219)
|
10. | Blue Violet | #8A2BE2 |
rgb(138,43,226)
|
11. | Dark Violet | #9400D3 | rgb(148,0,211) |
12. | Dark Orchid | #9932CC |
rgb(153,50,204)
|
13. | Dark Magenta | #8B008B | rgb(139,0,139) |
14. | Purple | #800080 | rgb(128,0,128) |
15. | Indigo | #4B0082 | rgb(75,0,130) |
Pink Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | Pink | #FFC0CB |
rgb(255,192,203)
|
2. | Light Pink | #FFB6C1 |
rgb(255,182,193)
|
3. | Hot Pink | #FF69B4 |
rgb(255,105,180)
|
4. | Deep Pink | #FF1493 |
rgb(255,20,147)
|
5. | Pale Violet Red | #DB7093 |
rgb(219,112,147)
|
6. | Medium Violet Red | #C71585 |
rgb(199,21,133)
|
White Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | White | #FFFFFF |
rgb(255,255,255)
|
2. | Snow | #FFFAFA |
rgb(255,250,250)
|
3. | Honeydew | #F0FFF0 |
rgb(240,255,240)
|
4. | Mint Cream | #F5FFFA |
rgb(245,255,250)
|
5. | Azure | #F0FFFF |
rgb(240,255,255)
|
6. | Alice Blue | #F0F8FF |
rgb(240,248,255)
|
7. | Ghost White | #F8F8FF |
rgb(248,248,255)
|
8. | White Smoke | #F5F5F5 |
rgb(245,245,245)
|
9. | Seashell | #FFF5EE |
rgb(255,245,238)
|
10. | Beige | #F5F5DC |
rgb(245,245,220)
|
11. | Old Lace | #FDF5E6 |
rgb(253,245,230)
|
12. | Floral White | #FFFAF0 |
rgb(255,250,240)
|
13. | Ivory | #FFFFF0 |
rgb(255,255,240)
|
14. | Antique White | #FAEBD7 |
rgb(250,235,215)
|
15. | Linen | #FAF0E6 |
rgb(250,240,230)
|
16. | Lavender Blush | #FFF0F5 |
rgb(255,240,245)
|
17. | Misty Rose | #FFE4E1 |
rgb(255,228,225)
|
Brown Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | Corn Silk | #FFF8DC |
rgb(255,248,220)
|
2. | Blanched Almond | #FFEBCD |
rgb(255,235,205)
|
3. | Bisque | #FFE4C4 |
rgb(255,228,196)
|
4. | Navajo White | #FFDEAD |
rgb(255,222,173)
|
5. | Wheat | #F5DEB3 |
rgb(245,222,179)
|
6. | Burly Wood | #DEB887 |
rgb(222,184,135)
|
7. | Tan | #D2B48C |
rgb(210,180,140)
|
8. | Rosy Brown | #BC8F8F |
rgb(188,143,143)
|
9. | Sandy Brown | #F4A460 |
rgb(244,164,96)
|
10. | Goldenrod | #DAA520 |
rgb(218,165,32)
|
11. | Peru | #CD853F |
rgb(205,133,63)
|
12. | Chocolate | #D2691E |
rgb(210,105,30)
|
13. | Saddle Brown | #8B4513 | rgb(139,69,19) |
14. | Sienna | #A0522D | rgb(160,82,45) |
15. | Brown | #A52A2A | rgb(165,42,42) |
16. | Maroon | #800000 | rgb(128,0,0) |
Gray Color Codes
S.No. | Color Name | Hex Code | RGB Code |
1. | Gainesboro | #DCDCDC |
rgb(220,220,220)
|
2. | Light Gray | #D3D3D3 |
rgb(211,211,211)
|
3. | Silver | #C0C0C0 |
rgb(192,192,192)
|
4. | Dark Gray | #A9A9A9 |
rgb(169,169,169)
|
5. | Gray | #808080 |
rgb(128,128,128)
|
6. | Dim Gray | #696969 |
rgb(105,105,105)
|
7. | Light Slate Gray | #778899 |
rgb(119,136,153)
|
8. | Slate Gray | #708090 |
rgb(112,128,144)
|
9. | Dark Slate Gray | #2F4F4F | rgb(47,79,79) |
10. | Black | #000000 | rgb(0,0,0) |
Final Quotes
So, from going through this post, we hope your search for HTML Color Codes has been completed. However, you can also check more technology-related information from our recently published posts.
Some Related Picks: