All HTML color names and their HEX code, RGB & CMYK values

This post contains all the HTML color names (148), their HEX code, and RGB & CMYK values. I was inspired by w3schools but there were two things that were missing such as RGB & CMYK colors. So I thought it would be niche if I could add some extra value to those colors list.

Also, I will give the exact HTML color name that you can use on your HTML & CSS file. See the following HTML & CSS code as an example & to learn how to use the color names on your HTML & CSS:

h1 {
	color: aliceblue;
}
<p style="color: aliceblue;">Example paragraph</p>

148 HTML color name, HEX, RGB & CMYK values

ColorColor nameHEX codeRGBCMYK
001aliceblue#F0F8FFrgb(240, 248, 255)cmyk(6,3,0,0)
002antiquewhite#FAEBD7rgb(250, 235, 215)cmyk(0,6,14,2)
003aqua#00FFFFrgb(0, 255, 255)cmyk(100,0,0,0)
004aquamarine#7FFFD4rgb(127, 255, 212)cmyk(50,0,17,0)
005azure#F0FFFFrgb(240, 255, 255)cmyk(6,0,0,0)
006beige#F5F5DCrgb(245, 245, 220)cmyk(0,0,10,4)
007bisque#FFE4C4rgb(255, 228, 196)cmyk(0,11,23,0)
008black#000000rgb(0, 0, 0)cmyk(0,0,0,100)
009blanchedalmond#FFEBCDrgb(255, 235, 205)cmyk(0,8,20,0)
010blue#0000FFrgb(0, 0, 255)cmyk(100,100,0,0)
011blueviolet#8A2BE2rgb(138, 43, 226)cmyk(39,81,0,11)
012brown#A52A2Argb(165, 42, 42)cmyk(0,75,75,35)
013burlywood#DEB887rgb(222, 184, 135)cmyk(0,17,39,13)
014cadetblue#5F9EA0rgb(95,158,160)cmyk(41,1,0,37)
015chartreuse#7FFF00rgb(127,255,0)cmyk(50,0,100,0)
016chocolate#D2691Ergb(210,105,30)cmyk(0,50,86,18)
017coral#FF7F50rgb(255,127,80)cmyk(0,50,69,0)
018cornflowerblue#6495EDrgb(100,149,237)cmyk(58,37,0,7)
019cornsilk#FFF8DCrgb(255,248,220)cmyk(0,3,14,0)
020crimson#DC143Crgb(220,20,60)cmyk(0,91,73,14)
021cyan#00FFFFrgb(0,255,255)cmyk(100,0,0,0)
022darkblue#00008Brgb(0,0,139)cmyk(100,100,0,45)
023darkcyan#008B8Brgb(0,139,139)cmyk(100,0,0,45)
024darkgoldenrod#B8860Brgb(184,134,11)cmyk(0,27,94,28)
025darkgray#A9A9A9rgb(169,169,169)cmyk(0,0,0,34)
026darkgrey#A9A9A9rgb(169,169,169)cmyk(0,0,0,34)
027darkgreen#006400rgb(0,100,0)cmyk(100,0,100,61)
028darkkhaki#BDB76Brgb(189,183,107)cmyk(0,3,43,26)
029darkmagenta#8B008Brgb(139,0,139)cmyk(0,100,0,45)
030darkolivegreen#556B2Frgb(85,107,47)cmyk(21,0,56,58)
031darkorange#FF8C00rgb(255,140,0)cmyk(0,45,100,0)
032darkorchid#9932CCrgb(153,50,204)cmyk(25,75,0,20)
033darkred#8B0000rgb(139,0,0)cmyk(0,100,100,45)
034darksalmon#E9967Argb(233,150,122)cmyk(0,36,48,9)
035darkseagreen#8FBC8Frgb(143,188,143)cmyk(24,0,24,26)
036darkslateblue#483D8Brgb(72,61,139)cmyk(48,56,0,45)
037darkslategray#2F4F4Frgb(47,79,79)cmyk(41,0,0,69)
038darkslategrey#2F4F4Frgb(47,79,79)cmyk(41,0,0,69)
039darkturquoise#00CED1rgb(0,206,209)cmyk(100,1,0,18)
040darkviolet#9400D3rgb(148,0,211)cmyk(30,100,0,17)
041deeppink#FF1493rgb(255,20,147)cmyk(0,92,42,0)
042deepskyblue#00BFFFrgb(0,191,255)cmyk(100,25,0,0)
043dimgray#696969rgb(105,105,105)cmyk(0,0,0,59)
044dimgrey#696969rgb(105,105,105)cmyk(0,0,0,59)
045dodgerblue#1E90FFrgb(30,144,255)cmyk(88,44,0,0)
046firebrick#B22222rgb(178,34,34)cmyk(0,81,81,30)
047floralwhite#FFFAF0rgb(255,250,240)cmyk(0,2,6,0)
048forestgreen#228B22rgb(34,139,34)cmyk(76,0,76,45)
049fuchsia#FF00FFrgb(255,0,255)cmyk(0,100,0,0)
050gainsboro#DCDCDCrgb(220,220,220)cmyk(0,0,0,14)
051ghostwhite#F8F8FFrgb(248,248,255)cmyk(3,3,0,0)
052gold#FFD700rgb(255,215,0)cmyk(0,16,100,0)
053goldenrod#DAA520rgb(218,165,32)cmyk(0,24,85,15)
054gray#808080rgb(128,128,128)cmyk(0,0,0,50)
055grey#808080rgb(128,128,128)cmyk(0,0,0,50)
056green#008000rgb(0,128,0)cmyk(100,0,100,50)
057greenyellow#ADFF2Frgb(173,255,47)cmyk(32,0,82,0)
058honeydew#F0FFF0rgb(240,255,240)cmyk(6,0,6,0)
059hotpink#FF69B4rgb(255,105,180)cmyk(0,59,29,0)
060indianred#CD5C5Crgb(205,92,92)cmyk(0,55,55,20)
061indigo#4B0082rgb(75,0,130)cmyk(42,100,0,49)
062ivory#FFFFF0rgb(255,255,240)cmyk(0,0,6,0)
063khaki#F0E68Crgb(240,230,140)cmyk(0,4,42,6)
064lavender#E6E6FArgb(230,230,250)cmyk(8,8,0,2)
065lavenderblush#FFF0F5rgb(255,240,245)cmyk(0,6,4,0)
066lawngreen#7CFC00rgb(124,252,0)cmyk(51,0,100,1)
067lemonchiffon#FFFACDrgb(255,250,205)cmyk(0,2,20,0)
068lightblue#ADD8E6rgb(173,216,230)cmyk(25,6,0,10)
069lightcoral#F08080rgb(240,128,128)cmyk(0,47,47,6)
070lightcyan#E0FFFFrgb(224,255,255)cmyk(12,0,0,0)
071lightgoldenrodyellow#FAFAD2rgb(250,250,210)cmyk(0,0,16,2)
072lightgray#D3D3D3rgb(211,211,211)cmyk(0,0,0,17)
073lightgrey#D3D3D3rgb(211,211,211)cmyk(0,0,0,17)
074lightgreen#90EE90rgb(144,238,144)cmyk(39,0,39,7)
075lightpink#FFB6C1rgb(255,182,193)cmyk(0,29,24,0)
076lightsalmon#FFA07Argb(255,160,122)cmyk(0,37,52,0)
077lightseagreen#20B2AArgb(32,178,170)cmyk(82,0,4,30)
078lightskyblue#87CEFArgb(135,206,250)cmyk(46,18,0,2)
079lightslategray#778899rgb(119,136,153)cmyk(22,11,0,40)
080lightslategrey#778899rgb(119,136,153)cmyk(22,11,0,40)
081lightsteelblue#B0C4DErgb(176,196,222)cmyk(21,12,0,13)
082lightyellow#FFFFE0rgb(255,255,224)cmyk(0,0,12,0)
083lime#00FF00rgb(0,255,0)cmyk(100,0,100,0)
084limegreen#32CD32rgb(50,205,50)cmyk(76,0,76,20)
085linen#FAF0E6rgb(250,240,230)cmyk(0,4,8,2)
086magenta#FF00FFrgb(255,0,255)cmyk(0,100,0,0)
087maroon#800000rgb(128,0,0)cmyk(0,100,100,50)
088mediumaquamarine#66CDAArgb(102,205,170)cmyk(50,0,17,20)
089mediumblue#0000CDrgb(0,0,205)cmyk(100,100,0,20)
090mediumorchid#BA55D3rgb(186,85,211)cmyk(12,60,0,17)
091mediumpurple#9370DBrgb(147,112,219)cmyk(33,49,0,14)
092mediumseagreen#3CB371rgb(60,179,113)cmyk(66,0,37,30)
093mediumslateblue#7B68EErgb(123,104,238)cmyk(48,56,0,7)
094mediumspringgreen#00FA9Argb(0,250,154)cmyk(100,0,38,2)
095mediumturquoise#48D1CCrgb(72,209,204)cmyk(66,0,2,18)
096mediumvioletred#C71585rgb(199,21,133)cmyk(0,89,33,22)
097midnightblue#191970rgb(25,25,112)cmyk(78,78,0,56)
098mintcream#F5FFFArgb(245,255,250)cmyk(4,0,2,0)
099mistyrose#FFE4E1rgb(255,228,225)cmyk(0,11,12,0)
100moccasin#FFE4B5rgb(255,228,181)cmyk(0,11,29,0)
101navajowhite#FFDEADrgb(255,222,173)cmyk(0,13,32,0)
102navy#000080rgb(0,0,128)cmyk(100,100,0,50)
103oldlace#FDF5E6rgb(253,245,230)cmyk(0,3,9,1)
104olive#808000rgb(128,128,0)cmyk(0,0,100,50)
105olivedrab#6B8E23rgb(107,142,35)cmyk(25,0,75,44)
106orange#FFA500rgb(255,165,0)cmyk(0,35,100,0)
107orangered#FF4500rgb(255,69,0)cmyk(0,73,100,0)
108orchid#DA70D6rgb(218,112,214)cmyk(0,49,2,15)
109palegoldenrod#EEE8AArgb(238,232,170)cmyk(0,3,29,7)
110palegreen#98FB98rgb(152,251,152)cmyk(39,0,39,2)
111paleturquoise#AFEEEErgb(175,238,238)cmyk(26,0,0,7)
112palevioletred#DB7093rgb(219,112,147)cmyk(0,49,33,14)
113papayawhip#FFEFD5rgb(255,239,213)cmyk(0,6,16,0)
114peachpuff#FFDAB9rgb(255,218,185)cmyk(0,15,27,0)
115peru#CD853Frgb(205,133,63)cmyk(0,35,69,20)
116pink#FFC0CBrgb(255,192,203)cmyk(0,25,20,0)
117plum#DDA0DDrgb(221,160,221)cmyk(0,28,0,13)
118powderblue#B0E0E6rgb(176,224,230)cmyk(23,3,0,10)
119purple#800080rgb(128,0,128)cmyk(0,100,0,50)
120rebeccapurple#663399rgb(102,51,153)cmyk(33,67,0,40)
121red#FF0000rgb(255,0,0)cmyk(0,100,100,0)
122rosybrown#BC8F8Frgb(188,143,143)cmyk(0,24,24,26)
123royalblue#4169E1rgb(65,105,225)cmyk(71,53,0,12)
124saddlebrown#8B4513rgb(139,69,19)cmyk(0,50,86,45)
125salmon#FA8072rgb(250,128,114)cmyk(0,49,54,2)
126sandybrown#F4A460rgb(244,164,96)cmyk(0,33,61,4)
127seagreen#2E8B57rgb(46,139,87)cmyk(67,0,37,45)
128seashell#FFF5EErgb(255,245,238)cmyk(0,4,7,0)
129sienna#A0522Drgb(160,82,45)cmyk(0,49,72,37)
130silver#C0C0C0rgb(192,192,192)cmyk(0,0,0,25)
131skyblue#87CEEBrgb(135,206,235)cmyk(43,12,0,8)
132slateblue#6A5ACDrgb(106,90,205)cmyk(48,56,0,20)
133slategray#708090rgb(112,128,144)cmyk(22,11,0,44)
134slategrey#708090rgb(112,128,144)cmyk(22,11,0,44)
135snow#FFFAFArgb(255,250,250)cmyk(0,2,2,0)
136springgreen#00FF7Frgb(0,255,127)cmyk(100,0,50,0)
137steelblue#4682B4rgb(70,130,180)cmyk(61,28,0,29)
138tan#D2B48Crgb(210,180,140)cmyk(0,14,33,18)
139teal#008080rgb(0,128,128)cmyk(100,0,0,50)
140thistle#D8BFD8rgb(216,191,216)cmyk(0,12,0,15)
141tomato#FF6347rgb(255,99,71)cmyk(0,61,72,0)
142turquoise#40E0D0rgb(64,224,208)cmyk(71,0,7,12)
143violet#EE82EErgb(238,130,238)cmyk(0,45,0,7)
144wheat#F5DEB3rgb(245,222,179)cmyk(0,9,27,4)
145white#FFFFFFrgb(255,255,255)cmyk(0,0,0,0)
146whitesmoke#F5F5F5rgb(245,245,245)cmyk(0,0,0,4)
147yellow#FFFF00rgb(255,255,0)cmyk(0,0,100,0)
148yellowgreen#9ACD32rgb(154,205,50)cmyk(25,0,76,20)
148 HTML color names, HEX code, RBG & CMYK value

Related: See how to create multiple-color text in HTML CSS.

You may also like the color code values of popular logos.

Learn & practice CSS with real-world examples
Learn basic CSS from the ground up.
Build real projects in HTML CSS.
Make your hands dirty

Build HTML CSS projects

About us templatePreview
Team pagePreview
Testimonial pagePreview
Testimonial sliderPreview
Contact pagePreview
Multipage websitePreview
Portfolio websitePreview
Animated portfolioPreview
Computer science portfolioPreview
Navigation bar (without JS)N/A
Create a hamburger menuPreview
Create a navigation menu in two waysN/A
Footer templatesPreview
Hero bannerPreview
Background sliderPreview
Card templates (HTML, CSS)Preview
Animated cardsPreview
Three-column layout templatePreview
Two column layoutPreview
Breadcrumb navigationN/A
Progress bar templatePreview
Thank you pagePreview
Resume templatePreview
Coming soon templatePreview
Landing page templatePreview
Roofing website templatePreview

Conclusion

Aside from the hex code, RGB & CMYK, you can also use the color names directly in your CSS file. For example, color: turquoise. Sometimes you may need an HTML color code in different formats and depending on your unique cases.

To use a semitransparent color, you have to use it in RGBA format. For example, if you want a semitransparent yellow color, you can use it like this rgba(255,255,0, 0.5) and you can customize the transparency using the last value. For example, I used 50% transparency in this example but if you need 80% transparency then it will be like this rgb(255,255,0, 0.8). You got the idea.

RBG stands for “Red Green Blue” and RGBA stands for “Red Green Blue Alpha.” Here alpha is the transparency. The highest alpha value is 1 and you can use any lower decimal alpha.

Overall, the extensive list of HTML color codes that I listed in this article makes it easy for web designers and developers to choose the perfect color scheme for their projects. Understanding these 148 HTML color codes, including their corresponding hex, rgb, and CMYK values, is essential for anyone looking to add visual appeal to their website or digital content.