{"id":1105,"date":"2019-07-17T10:51:21","date_gmt":"2019-07-17T10:51:21","guid":{"rendered":"https:\/\/www.copahost.com\/blog\/?p=1105"},"modified":"2023-06-22T11:03:58","modified_gmt":"2023-06-22T11:03:58","slug":"font-color-html","status":"publish","type":"post","link":"https:\/\/www.copahost.com\/blog\/font-color-html\/","title":{"rendered":"HTML font color: Table of colors and how to use in your site"},"content":{"rendered":"<div style=\"font-size: 12px;\">\n<table class=\"table table-bordered aligncenter\">\n<thead>\n<tr>\n<th style=\"text-align: left;\">Color name<\/th>\n<th>HEX Code<\/th>\n<th>RGB Code<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"background-color: #000000;\"><span style=\"color: #ffffff;\">Black<\/span><\/td>\n<td style=\"background-color: #000000;\"><span style=\"color: #ffffff;\">#000000<\/span><\/td>\n<td style=\"background-color: #000000;\"><span style=\"color: #ffffff;\">(0,0,0)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #1c1c1c; text-align: left;\"><span style=\"color: #ffffff;\">grey11<\/span><\/td>\n<td style=\"background-color: #1c1c1c;\"><span style=\"color: #ffffff;\">#1C1C1C<\/span><\/td>\n<td style=\"background-color: #1c1c1c;\"><span style=\"color: #ffffff;\">(28,28,28)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #363636;\"><span style=\"color: #ffffff;\">grey21<\/span><\/td>\n<td style=\"background-color: #363636;\"><span style=\"color: #ffffff;\">#363636<\/span><\/td>\n<td style=\"background-color: #363636;\"><span style=\"color: #ffffff;\">(54,54,54)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #4f4f4f;\"><span style=\"color: #ffffff;\">grey31<\/span><\/td>\n<td style=\"background-color: #4f4f4f;\"><span style=\"color: #ffffff;\">#4F4F4F<\/span><\/td>\n<td style=\"background-color: #4f4f4f;\"><span style=\"color: #ffffff;\">(79,79,79)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #696969;\">DimGray<\/td>\n<td style=\"background-color: #696969;\">#696969<\/td>\n<td style=\"background-color: #696969;\">(105,105,105)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #808080;\">Gray<\/td>\n<td style=\"background-color: #808080;\">#808080<\/td>\n<td style=\"background-color: #808080;\">(128,128,128)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a9a9a9;\">DarkGray<\/td>\n<td style=\"background-color: #a9a9a9;\">#A9A9A9<\/td>\n<td style=\"background-color: #a9a9a9;\">(169,169,169)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #c0c0c0;\">Silver<\/td>\n<td style=\"background-color: #c0c0c0;\">#C0C0C0<\/td>\n<td style=\"background-color: #c0c0c0;\">(192,192,192)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #d3d3d3;\">LightGrey<\/td>\n<td style=\"background-color: #d3d3d3;\">#D3D3D3<\/td>\n<td style=\"background-color: #d3d3d3;\">(211,211,211)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #dcdcdc;\">Gainsboro<\/td>\n<td style=\"background-color: #dcdcdc;\">#DCDCDC<\/td>\n<td style=\"background-color: #dcdcdc;\">(220,220,220)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #6a5acd;\"><span style=\"color: #ffffff;\">SlateBlue<\/span><\/td>\n<td style=\"background-color: #6a5acd;\"><span style=\"color: #ffffff;\">#6A5ACD<\/span><\/td>\n<td style=\"background-color: #6a5acd;\"><span style=\"color: #ffffff;\">(106,90,205)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #836fff;\"><span style=\"color: #ffffff;\">SlateBlue1<\/span><\/td>\n<td style=\"background-color: #836fff;\"><span style=\"color: #ffffff;\">#836FFF<\/span><\/td>\n<td style=\"background-color: #836fff;\"><span style=\"color: #ffffff;\">(131,111,255)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #6959cd;\"><span style=\"color: #ffffff;\">SlateBlue3<\/span><\/td>\n<td style=\"background-color: #6959cd;\"><span style=\"color: #ffffff;\">#6959CD<\/span><\/td>\n<td style=\"background-color: #6959cd;\"><span style=\"color: #ffffff;\">(105,89,205)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #483d8b;\"><span style=\"color: #ffffff;\">DarkSlateBlue<\/span><\/td>\n<td style=\"background-color: #483d8b;\"><span style=\"color: #ffffff;\">#483D8B<\/span><\/td>\n<td style=\"background-color: #483d8b;\"><span style=\"color: #ffffff;\">(72,61,139)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #191970;\"><span style=\"color: #ffffff;\">MidnightBlue<\/span><\/td>\n<td style=\"background-color: #191970;\"><span style=\"color: #ffffff;\">#191970<\/span><\/td>\n<td style=\"background-color: #191970;\"><span style=\"color: #ffffff;\">(25,25,112)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #000080;\"><span style=\"color: #ffffff;\">Navy<\/span><\/td>\n<td style=\"background-color: #000080;\"><span style=\"color: #ffffff;\">#000080<\/span><\/td>\n<td style=\"background-color: #000080;\"><span style=\"color: #ffffff;\">(0,0,128)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #00008b;\"><span style=\"color: #ffffff;\">DarkBlue<\/span><\/td>\n<td style=\"background-color: #00008b;\"><span style=\"color: #ffffff;\">#00008B<\/span><\/td>\n<td style=\"background-color: #00008b;\"><span style=\"color: #ffffff;\">(0,0,139)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #0000cd;\"><span style=\"color: #ffffff;\">MediumBlue<\/span><\/td>\n<td style=\"background-color: #0000cd;\"><span style=\"color: #ffffff;\">#0000CD<\/span><\/td>\n<td style=\"background-color: #0000cd;\"><span style=\"color: #ffffff;\">(0,0,205)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #0000ff;\"><span style=\"color: #ffffff;\">Blue<\/span><\/td>\n<td style=\"background-color: #0000ff;\"><span style=\"color: #ffffff;\">#0000FF<\/span><\/td>\n<td style=\"background-color: #0000ff;\"><span style=\"color: #ffffff;\">(0,0,255)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #6495ed;\">CornflowerBlue<\/td>\n<td style=\"background-color: #6495ed;\">#6495ED<\/td>\n<td style=\"background-color: #6495ed;\">(100,149,237)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #4169e1;\">RoyalBlue<\/td>\n<td style=\"background-color: #4169e1;\">#4169E1<\/td>\n<td style=\"background-color: #4169e1;\">(65,105,225)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #1e90ff;\">DodgerBlue<\/td>\n<td style=\"background-color: #1e90ff;\">#1E90FF<\/td>\n<td style=\"background-color: #1e90ff;\">(30,144,255)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #00bfff;\">DeepSkyBlue<\/td>\n<td style=\"background-color: #00bfff;\">#00BFFF<\/td>\n<td style=\"background-color: #00bfff;\">(0,191,255)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #87cefa;\">LightSkyBlue<\/td>\n<td style=\"background-color: #87cefa;\">#87CEFA<\/td>\n<td style=\"background-color: #87cefa;\">(135,206,250)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #87ceeb;\">SkyBlue<\/td>\n<td style=\"background-color: #87ceeb;\">#87CEEB<\/td>\n<td style=\"background-color: #87ceeb;\">(135,206,235)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #add8e6;\">LightBlue<\/td>\n<td style=\"background-color: #add8e6;\">#ADD8E6<\/td>\n<td style=\"background-color: #add8e6;\">(173,216,230)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #4682b4;\">SteelBlue<\/td>\n<td style=\"background-color: #4682b4;\">#4682B4<\/td>\n<td style=\"background-color: #4682b4;\">(70,130,180)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #b0c4de;\">LightSteelBlue<\/td>\n<td style=\"background-color: #b0c4de;\">#B0C4DE<\/td>\n<td style=\"background-color: #b0c4de;\">(176,196,222)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #708090;\">SlateGray<\/td>\n<td style=\"background-color: #708090;\">#708090<\/td>\n<td style=\"background-color: #708090;\">(112,128,144)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #778899;\">LightSlateGray<\/td>\n<td style=\"background-color: #778899;\">#778899<\/td>\n<td style=\"background-color: #778899;\">(119,136,153)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #00ffff;\">Aqua \/ Cyan<\/td>\n<td style=\"background-color: #00ffff;\">#00FFFF<\/td>\n<td style=\"background-color: #00ffff;\">(0,255,255)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #00ced1;\">DarkTurquoise<\/td>\n<td style=\"background-color: #00ced1;\">#00CED1<\/td>\n<td style=\"background-color: #00ced1;\">(0,206,209)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #40e0d0;\">Turquoise<\/td>\n<td style=\"background-color: #40e0d0;\">#40E0D0<\/td>\n<td style=\"background-color: #40e0d0;\">(64,224,208)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #48d1cc;\">MediumTurquoise<\/td>\n<td style=\"background-color: #48d1cc;\">#48D1CC<\/td>\n<td style=\"background-color: #48d1cc;\">(72,209,204)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #20b2aa;\">LightSeaGreen<\/td>\n<td style=\"background-color: #20b2aa;\">#20B2AA<\/td>\n<td style=\"background-color: #20b2aa;\">(32,178,170)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #008b8b;\">DarkCyan<\/td>\n<td style=\"background-color: #008b8b;\">#008B8B<\/td>\n<td style=\"background-color: #008b8b;\">(0,139,139)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #008080;\">Teal<\/td>\n<td style=\"background-color: #008080;\">#008080<\/td>\n<td style=\"background-color: #008080;\">(0,128,128)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #7fffd4;\">Aquamarine<\/td>\n<td style=\"background-color: #7fffd4;\">#7FFFD4<\/td>\n<td style=\"background-color: #7fffd4;\">(127,255,212)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #66cdaa;\">MediumAquamarine<\/td>\n<td style=\"background-color: #66cdaa;\">#66CDAA<\/td>\n<td style=\"background-color: #66cdaa;\">(102,205,170)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #5f9ea0;\">CadetBlue<\/td>\n<td style=\"background-color: #5f9ea0;\">#5F9EA0<\/td>\n<td style=\"background-color: #5f9ea0;\">(95,158,160)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #2f4f4f;\"><span style=\"color: #ffffff;\">DarkSlateGray<\/span><\/td>\n<td style=\"background-color: #2f4f4f;\"><span style=\"color: #ffffff;\">#2F4F4F<\/span><\/td>\n<td style=\"background-color: #2f4f4f;\"><span style=\"color: #ffffff;\">(47,79,79)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #00fa9a;\">MediumSpringGreen<\/td>\n<td style=\"background-color: #00fa9a;\">#00FA9A<\/td>\n<td style=\"background-color: #00fa9a;\">(0,250,154)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #00ff7f;\">SpringGreen<\/td>\n<td style=\"background-color: #00ff7f;\">#00FF7F<\/td>\n<td style=\"background-color: #00ff7f;\">(0,255,127)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #98fb98;\">PaleGreen<\/td>\n<td style=\"background-color: #98fb98;\">#98FB98<\/td>\n<td style=\"background-color: #98fb98;\">(152,251,152)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #90ee90;\">LightGreen<\/td>\n<td style=\"background-color: #90ee90;\">#90EE90<\/td>\n<td style=\"background-color: #90ee90;\">(144,238,144)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #8fbc8f;\">DarkSeaGreen<\/td>\n<td style=\"background-color: #8fbc8f;\">#8FBC8F<\/td>\n<td style=\"background-color: #8fbc8f;\">(143,188,143)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #3cb371;\">MediumSeaGreen<\/td>\n<td style=\"background-color: #3cb371;\">#3CB371<\/td>\n<td style=\"background-color: #3cb371;\">(60,179,113)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #2e8b57;\">SeaGreen<\/td>\n<td style=\"background-color: #2e8b57;\">#2E8B57<\/td>\n<td style=\"background-color: #2e8b57;\">(46,139,87)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #006400;\">DarkGreen<\/td>\n<td style=\"background-color: #006400;\">#006400<\/td>\n<td style=\"background-color: #006400;\">(0,100,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #008000;\">Green<\/td>\n<td style=\"background-color: #008000;\">#008000<\/td>\n<td style=\"background-color: #008000;\">(0,128,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #228b22;\">ForestGreen<\/td>\n<td style=\"background-color: #228b22;\">#228B22<\/td>\n<td style=\"background-color: #228b22;\">(34,139,34)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #32cd32;\">LimeGreen<\/td>\n<td style=\"background-color: #32cd32;\">#32CD32<\/td>\n<td style=\"background-color: #32cd32;\">(50,205,50)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #00ff00;\">Lime<\/td>\n<td style=\"background-color: #00ff00;\">#00FF00<\/td>\n<td style=\"background-color: #00ff00;\">(0,255,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #7cfc00;\">LawnGreen<\/td>\n<td style=\"background-color: #7cfc00;\">#7CFC00<\/td>\n<td style=\"background-color: #7cfc00;\">(124,252,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #7fff00;\">Chartreuse<\/td>\n<td style=\"background-color: #7fff00;\">#7FFF00<\/td>\n<td style=\"background-color: #7fff00;\">(127,255,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #adff2f;\">GreenYellow<\/td>\n<td style=\"background-color: #adff2f;\">#ADFF2F<\/td>\n<td style=\"background-color: #adff2f;\">(173,255,47)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #9acd32;\">YellowGreen<\/td>\n<td style=\"background-color: #9acd32;\">#9ACD32<\/td>\n<td style=\"background-color: #9acd32;\">(154,205,50)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #6b8e23;\">OliveDrab<\/td>\n<td style=\"background-color: #6b8e23;\">6B8E23<\/td>\n<td style=\"background-color: #6b8e23;\">(107,142,35)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #556b2f;\">DarkOliveGreen<\/td>\n<td style=\"background-color: #556b2f;\">#556B2F<\/td>\n<td style=\"background-color: #556b2f;\">(85,107,47)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #808000;\">Olive<\/td>\n<td style=\"background-color: #808000;\">#808000<\/td>\n<td style=\"background-color: #808000;\">(128,128,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #bdb76b;\">DarkKhaki<\/td>\n<td style=\"background-color: #bdb76b;\">#BDB76B<\/td>\n<td style=\"background-color: #bdb76b;\">(189,83,107)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #daa520;\">Goldenrod<\/td>\n<td style=\"background-color: #daa520;\">#DAA520<\/td>\n<td style=\"background-color: #daa520;\">(218,165,32)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #b8860b;\">DarkGoldenrod<\/td>\n<td style=\"background-color: #b8860b;\">#B8860B<\/td>\n<td style=\"background-color: #b8860b;\">(184,134,11)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #8b4513;\">SaddleBrown<\/td>\n<td style=\"background-color: #8b4513;\">#8B4513<\/td>\n<td style=\"background-color: #8b4513;\">(139,69,19)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a0522d;\">Sienna<\/td>\n<td style=\"background-color: #a0522d;\">#A0522D<\/td>\n<td style=\"background-color: #a0522d;\">(160,82,45)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #bc8f8f;\">RosyBrown<\/td>\n<td style=\"background-color: #bc8f8f;\">#BC8F8F<\/td>\n<td style=\"background-color: #bc8f8f;\">(188,143,143)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #cd853f;\">Peru<\/td>\n<td style=\"background-color: #cd853f;\">#CD853F<\/td>\n<td style=\"background-color: #cd853f;\">(205,133,63)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #d2691e;\">Chocolate<\/td>\n<td style=\"background-color: #d2691e;\">#D2691E<\/td>\n<td style=\"background-color: #d2691e;\">(210,105,30)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f4a460;\">SandyBrown<\/td>\n<td style=\"background-color: #f4a460;\">#F4A460<\/td>\n<td style=\"background-color: #f4a460;\">(244,164,96)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffdead;\">NavajoWhite<\/td>\n<td style=\"background-color: #ffdead;\">#FFDEAD<\/td>\n<td style=\"background-color: #ffdead;\">(255,222,173)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f5deb3;\">Wheat<\/td>\n<td style=\"background-color: #f5deb3;\">#F5DEB3<\/td>\n<td style=\"background-color: #f5deb3;\">(245,222,179)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #deb887;\">BurlyWood<\/td>\n<td style=\"background-color: #deb887;\">#DEB887<\/td>\n<td style=\"background-color: #deb887;\">(222,184,135)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #d2b48c;\">Tan<\/td>\n<td style=\"background-color: #d2b48c;\">#D2B48C<\/td>\n<td style=\"background-color: #d2b48c;\">(210,180,140)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #7b68ee;\">MediumSlateBlue<\/td>\n<td style=\"background-color: #7b68ee;\">#7B68EE<\/td>\n<td style=\"background-color: #7b68ee;\">(123,104,238)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #9370db;\">MediumPurple<\/td>\n<td style=\"background-color: #9370db;\">#9370DB<\/td>\n<td style=\"background-color: #9370db;\">(147,112,219)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #8a2be2;\">BlueViolet<\/td>\n<td style=\"background-color: #8a2be2;\">#8A2BE2<\/td>\n<td style=\"background-color: #8a2be2;\">(138,43,226)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #4b0082;\"><span style=\"color: #ffffff;\">Indigo<\/span><\/td>\n<td style=\"background-color: #4b0082;\"><span style=\"color: #ffffff;\">#4B0082<\/span><\/td>\n<td style=\"background-color: #4b0082;\"><span style=\"color: #ffffff;\">(75,0,130)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #9400d3;\">DarkViolet<\/td>\n<td style=\"background-color: #9400d3;\">#9400D3<\/td>\n<td style=\"background-color: #9400d3;\">(148,0,211)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #9932cc;\">DarkOrchid<\/td>\n<td style=\"background-color: #9932cc;\">#9932CC<\/td>\n<td style=\"background-color: #9932cc;\">(153,50,204)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ba55d3;\">MediumOrchid<\/td>\n<td style=\"background-color: #ba55d3;\">#BA55D3<\/td>\n<td style=\"background-color: #ba55d3;\">(186,85,211)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a020f0;\"><span style=\"color: #ffffff;\">Purple<\/span><\/td>\n<td style=\"background-color: #a020f0;\"><span style=\"color: #ffffff;\">#A020F0<\/span><\/td>\n<td style=\"background-color: #a020f0;\"><span style=\"color: #ffffff;\">(128,0,128)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #8b008b;\"><span style=\"color: #ffffff;\">DarkMagenta<\/span><\/td>\n<td style=\"background-color: #8b008b;\"><span style=\"color: #ffffff;\">#8B008B<\/span><\/td>\n<td style=\"background-color: #8b008b;\"><span style=\"color: #ffffff;\">(139,0,139)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ff00ff;\">Fuchsia \/ Magenta<\/td>\n<td style=\"background-color: #ff00ff;\">#FF00FF<\/td>\n<td style=\"background-color: #ff00ff;\">(255,0,255)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ee82ee;\">Violet<\/td>\n<td style=\"background-color: #ee82ee;\">#EE82EE<\/td>\n<td style=\"background-color: #ee82ee;\">(238,130,238)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #da70d6;\">Orchid<\/td>\n<td style=\"background-color: #da70d6;\">#DA70D6<\/td>\n<td style=\"background-color: #da70d6;\">(218,112,214)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #dda0dd;\">Plum<\/td>\n<td style=\"background-color: #dda0dd;\">#DDA0DD<\/td>\n<td style=\"background-color: #dda0dd;\">(221,160,221)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #c71585;\">MediumVioletRed<\/td>\n<td style=\"background-color: #c71585;\">#C71585<\/td>\n<td style=\"background-color: #c71585;\">(199,21,133)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ff1493;\">DeepPink<\/td>\n<td style=\"background-color: #ff1493;\">#FF1493<\/td>\n<td style=\"background-color: #ff1493;\">(255,20,147)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ff69b4;\">HotPink<\/td>\n<td style=\"background-color: #ff69b4;\">#FF69B4<\/td>\n<td style=\"background-color: #ff69b4;\">(255,105,180)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #db7093;\">PaleVioletRed<\/td>\n<td style=\"background-color: #db7093;\">#DB7093<\/td>\n<td style=\"background-color: #db7093;\">(219,112,147)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffb6c1;\">LightPink<\/td>\n<td style=\"background-color: #ffb6c1;\">#FFB6C1<\/td>\n<td style=\"background-color: #ffb6c1;\">(255,182,193)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffc0cb;\">Pink<\/td>\n<td style=\"background-color: #ffc0cb;\">#FFC0CB<\/td>\n<td style=\"background-color: #ffc0cb;\">(255,192,203)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f08080;\">LightCoral<\/td>\n<td style=\"background-color: #f08080;\">#F08080<\/td>\n<td style=\"background-color: #f08080;\">(240,128,128)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #cd5c5c;\">IndianRed<\/td>\n<td style=\"background-color: #cd5c5c;\">#CD5C5C<\/td>\n<td style=\"background-color: #cd5c5c;\">(205,92,92)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #dc143c;\">Crimson<\/td>\n<td style=\"background-color: #dc143c;\">#DC143C<\/td>\n<td style=\"background-color: #dc143c;\">(220,20,60)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #800000;\"><span style=\"color: #ffffff;\">Maroon<\/span><\/td>\n<td style=\"background-color: #800000;\"><span style=\"color: #ffffff;\">#800000<\/span><\/td>\n<td style=\"background-color: #800000;\"><span style=\"color: #ffffff;\">(128,0,0)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #8b0000;\"><span style=\"color: #ffffff;\">DarkRed<\/span><\/td>\n<td style=\"background-color: #8b0000;\"><span style=\"color: #ffffff;\">#8B0000<\/span><\/td>\n<td style=\"background-color: #8b0000;\"><span style=\"color: #ffffff;\">(139,0,0)<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #b22222;\">FireBrick<\/td>\n<td style=\"background-color: #b22222;\">#B22222<\/td>\n<td style=\"background-color: #b22222;\">(178,34,34)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #a52a2a;\">Brown<\/td>\n<td style=\"background-color: #a52a2a;\">#A52A2A<\/td>\n<td style=\"background-color: #a52a2a;\">(165,42,42)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fa8072;\">Salmon<\/td>\n<td style=\"background-color: #fa8072;\">#FA8072<\/td>\n<td style=\"background-color: #fa8072;\">(250,128,114)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #e9967a;\">DarkSalmon<\/td>\n<td style=\"background-color: #e9967a;\">#E9967A<\/td>\n<td style=\"background-color: #e9967a;\">(233,150,122)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffa07a;\">LightSalmon<\/td>\n<td style=\"background-color: #ffa07a;\">#FFA07A<\/td>\n<td style=\"background-color: #ffa07a;\">(255,160,122)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ff7f50;\">Coral<\/td>\n<td style=\"background-color: #ff7f50;\">#FF7F50<\/td>\n<td style=\"background-color: #ff7f50;\">(255,127,80)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ff6347;\">Tomato<\/td>\n<td style=\"background-color: #ff6347;\">#FF6347<\/td>\n<td style=\"background-color: #ff6347;\">(255,99,71)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ff0000;\">Red<\/td>\n<td style=\"background-color: #ff0000;\">#FF0000<\/td>\n<td style=\"background-color: #ff0000;\">(255,0,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ff4500;\">OrangeRed<\/td>\n<td style=\"background-color: #ff4500;\">#FF4500<\/td>\n<td style=\"background-color: #ff4500;\">(255,69,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ff8c00;\">DarkOrange<\/td>\n<td style=\"background-color: #ff8c00;\">#FF8C00<\/td>\n<td style=\"background-color: #ff8c00;\">(255,140,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffa500;\">Orange<\/td>\n<td style=\"background-color: #ffa500;\">#FFA500<\/td>\n<td style=\"background-color: #ffa500;\">(255,165,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffd700;\">Gold<\/td>\n<td style=\"background-color: #ffd700;\">#FFD700<\/td>\n<td style=\"background-color: #ffd700;\">(255,215,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffff00;\">Yellow<\/td>\n<td style=\"background-color: #ffff00;\">#FFFF00<\/td>\n<td style=\"background-color: #ffff00;\">(255,255,0)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f0e68c;\">Khaki<\/td>\n<td style=\"background-color: #f0e68c;\">#F0E68C<\/td>\n<td style=\"background-color: #f0e68c;\">(240,230,140)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f0f8ff;\">AliceBlue<\/td>\n<td style=\"background-color: #f0f8ff;\">#F0F8FF<\/td>\n<td style=\"background-color: #f0f8ff;\">(240,248,255)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f8f8ff;\">GhostWhite<\/td>\n<td style=\"background-color: #f8f8ff;\">#F8F8FF<\/td>\n<td style=\"background-color: #f8f8ff;\">(248,248,255)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fffafa;\">Snow<\/td>\n<td style=\"background-color: #fffafa;\">#FFFAFA<\/td>\n<td style=\"background-color: #fffafa;\">(255,250,250)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fff5ee;\">Seashell<\/td>\n<td style=\"background-color: #fff5ee;\">#FFF5EE<\/td>\n<td style=\"background-color: #fff5ee;\">(255,245,238)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fffaf0;\">FloralWhite<\/td>\n<td style=\"background-color: #fffaf0;\">#FFFAF0<\/td>\n<td style=\"background-color: #fffaf0;\">(255,250,240)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f5f5f5;\">WhiteSmoke<\/td>\n<td style=\"background-color: #f5f5f5;\">#F5F5F5<\/td>\n<td style=\"background-color: #f5f5f5;\">(245,245,245)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f5f5dc;\">Beige<\/td>\n<td style=\"background-color: #f5f5dc;\">#F5F5DC<\/td>\n<td style=\"background-color: #f5f5dc;\">(245,245,220)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fdf5e6;\">OldLace<\/td>\n<td style=\"background-color: #fdf5e6;\">#FDF5E6<\/td>\n<td style=\"background-color: #fdf5e6;\">(253,245,230)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fffff0;\">Ivory<\/td>\n<td style=\"background-color: #fffff0;\">#FFFFF0<\/td>\n<td style=\"background-color: #fffff0;\">(255,255,240)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #faf0e6;\">Linen<\/td>\n<td style=\"background-color: #faf0e6;\">#FAF0E6<\/td>\n<td style=\"background-color: #faf0e6;\">(250,240,230)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fff8dc;\">Cornsilk<\/td>\n<td style=\"background-color: #fff8dc;\">#FFF8DC<\/td>\n<td style=\"background-color: #fff8dc;\">(255,248,220)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #faebd7;\">AntiqueWhite<\/td>\n<td style=\"background-color: #faebd7;\">#FAEBD7<\/td>\n<td style=\"background-color: #faebd7;\">(250,235,215)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffebcd;\">BlanchedAlmond<\/td>\n<td style=\"background-color: #ffebcd;\">#FFEBCD<\/td>\n<td style=\"background-color: #ffebcd;\">(255,235,205)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffe4c4;\">Bisque<\/td>\n<td style=\"background-color: #ffe4c4;\">#FFE4C4<\/td>\n<td style=\"background-color: #ffe4c4;\">(255,228,196)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffffe0;\">LightYellow<\/td>\n<td style=\"background-color: #ffffe0;\">#FFFFE0<\/td>\n<td style=\"background-color: #ffffe0;\">(255,255,224)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fffacd;\">LemonChiffon<\/td>\n<td style=\"background-color: #fffacd;\">#FFFACD<\/td>\n<td style=\"background-color: #fffacd;\">(255,250,205)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fafad2;\">LightGoldenrodYellow<\/td>\n<td style=\"background-color: #fafad2;\">#FAFAD2<\/td>\n<td style=\"background-color: #fafad2;\">(250,250,210)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffefd5;\">PapayaWhip<\/td>\n<td style=\"background-color: #ffefd5;\">#FFEFD5<\/td>\n<td style=\"background-color: #ffefd5;\">(255,239,213)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffdab9;\">PeachPuff<\/td>\n<td style=\"background-color: #ffdab9;\">#FFDAB9<\/td>\n<td style=\"background-color: #ffdab9;\">(255,218,185)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffe4b5;\">Moccasin<\/td>\n<td style=\"background-color: #ffe4b5;\">#FFE4B5<\/td>\n<td style=\"background-color: #ffe4b5;\">(255,228,181)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #eee8aa;\">PaleGoldenrod<\/td>\n<td style=\"background-color: #eee8aa;\">#EEE8AA<\/td>\n<td style=\"background-color: #eee8aa;\">(238,232,170)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #ffe4e1;\">MistyRose<\/td>\n<td style=\"background-color: #ffe4e1;\">#FFE4E1<\/td>\n<td style=\"background-color: #ffe4e1;\">(255,228,225)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #fff0f5;\">LavenderBlush<\/td>\n<td style=\"background-color: #fff0f5;\">#FFF0F5<\/td>\n<td style=\"background-color: #fff0f5;\">(255,240,245)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #e6e6fa;\">Lavender<\/td>\n<td style=\"background-color: #e6e6fa;\">#E6E6FA<\/td>\n<td style=\"background-color: #e6e6fa;\">(230,230,250)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #d8bfd8;\">Thistle<\/td>\n<td style=\"background-color: #d8bfd8;\">#D8BFD8<\/td>\n<td style=\"background-color: #d8bfd8;\">(216,191,216)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f0ffff;\">Azure<\/td>\n<td style=\"background-color: #f0ffff;\">#F0FFFF<\/td>\n<td style=\"background-color: #f0ffff;\">(240,255,255)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #e0ffff;\">LightCyan<\/td>\n<td style=\"background-color: #e0ffff;\">#E0FFFF<\/td>\n<td style=\"background-color: #e0ffff;\">(224,255,255)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #b0e0e6;\">PowderBlue<\/td>\n<td style=\"background-color: #b0e0e6;\">#B0E0E6<\/td>\n<td style=\"background-color: #b0e0e6;\">(176,224,230)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #e0ffff;\">PaleTurquoise<\/td>\n<td style=\"background-color: #e0ffff;\">#E0FFFF<\/td>\n<td style=\"background-color: #e0ffff;\">(175,238,238)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f0fff0;\">Honeydew<\/td>\n<td style=\"background-color: #f0fff0;\">#F0FFF0<\/td>\n<td style=\"background-color: #f0fff0;\">(240,255,240)<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: #f5fffa;\">MintCream<\/td>\n<td style=\"background-color: #f5fffa;\">#F5FFFA<\/td>\n<td style=\"background-color: #f5fffa;\">(245,255,250)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3>Topics in this article<\/h3>\n<ol>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><a href=\"https:\/\/www.copahost.com\/blog\/font-color-html\/#topic0\">The HTML font color chart<\/a><\/li>\n<li><a href=\"https:\/\/www.copahost.com\/blog\/font-color-html\/#topic1\">Set the HTML font colors using external style sheets<\/a><\/li>\n<li><a href=\"https:\/\/www.copahost.com\/blog\/font-color-html\/#topic2\">Setting colors using internal style sheets<\/a><\/li>\n<li><a href=\"https:\/\/www.copahost.com\/blog\/font-color-html\/#topic3\">Using inline styles<\/a><\/li>\n<li><a href=\"https:\/\/www.copahost.com\/blog\/font-color-html\/#topic4\">Id selector<\/a><\/li>\n<li><a href=\"https:\/\/www.copahost.com\/blog\/font-color-html\/#topic5\">Class selector<\/a><\/li>\n<li><a href=\"https:\/\/www.copahost.com\/blog\/font-color-html\/#topic6\">A brief history of HTML font colors in the Web<\/a><\/li>\n<li><a href=\"https:\/\/www.copahost.com\/blog\/font-color-html\/#topic6\">Conclusion<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<hr \/>\n<p>Hypertext markup language, better known as HTML is the standard markup language of documents to display on web browsers. Technologies like Cascading stylesheet (CSS) and scripting languages such as Javascript are often used with HTML. Now, CSS provides many options and techniques which could be used to make text, <a href=\"https:\/\/www.copahost.com\/blog\/html-image\/\">images<\/a>, <a href=\"https:\/\/www.copahost.com\/blog\/html-table\/\">tables<\/a> and other parts of the HTML document look better and attractive. One of these options is changing the HTML font color. CSS, along with HTML provides a lot of options to change the font color of the text.<\/p>\n<p><iframe title=\"HTML font tag tutorial. HTML font family, colors, styles and line breaks with BR.\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/pcRiAXYApBs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>A plain text is always boring. But CSS can always convert a boring looking HTML document into a fabulous, attractive one. HTML font colors are used to make the <a href=\"https:\/\/www.copahost.com\/blog\/what-is-web-hosting\/\">web pages<\/a> more attractive and easier to read. Paragraphs and headings are generally in black color font, but with CSS, many color options are available. There are countless color shades in HTML. Every shade has a unique color code(see the chart above). Color codes are used in various CSS properties such as in changing the font color, <a href=\"https:\/\/www.copahost.com\/blog\/html-background-color\/\">background color<\/a>, and border color. There are three different ways of using CSS to change the font color of any text in HTML.<br \/>\n<a id=\"topic1\"><\/a><\/p>\n<h3>Set the HTML font colors using external style sheets<\/h3>\n<p>An external style sheet is a different file with a <strong>.CSS<\/strong> extension which is <a href=\"https:\/\/www.copahost.com\/blog\/html-link-tag\/\">linked with HTML<\/a> file to make CSS changes in the entire file. The link <a href=\"https:\/\/www.copahost.com\/blog\/meta-tags-html\/\">tag is inserted in the head tag of the HTML<\/a> file. Following is an example of a <a href=\"https:\/\/www.copahost.com\/blog\/html-link\/\">link<\/a> tag.<\/p>\n<pre class=\"lang:default decode:true\">&lt;head&gt;\n&lt;link rel=\"stylesheet\" type=\"text\/css\" href=\"external.css\"&gt;\n&lt;\/head&gt;<\/pre>\n<p>Name of the CSS file is external.css in above example. Suppose, there is a paragraph in the body tag of <a href=\"https:\/\/www.copahost.com\/blog\/html-file-hosting\/\">HTML file<\/a>.<\/p>\n<pre class=\"lang:default decode:true\">&lt;p&gt; This is a paragraph &lt;\/p&gt;<\/pre>\n<p>Following is an example of changing the color of this paragraph using the external style sheet and color codes.<\/p>\n<p>Now, the external.css file should look like this. We will define the HTML font color inside this file.<\/p>\n<pre class=\"lang:default decode:true\">p { color:#3348F }<\/pre>\n<p>Blue is the color of paragraph now. #3348FF is one of the shades of blue color.<br \/>\n<a id=\"topic2\"><\/a><\/p>\n<h3>Setting colors using internal style sheets<\/h3>\n<p>Unlike an external style sheet, in this method CSS is itself inserted inside the head of HTML file. But it is not inserted directly, instead, style tag is used. Following is an example of changing the font color of a paragraph using an internal style sheet and color codes.<\/p>\n<pre class=\"lang:default decode:true\">&lt;html&gt;\n&lt;head&gt;\n&lt;style&gt;\np { color:#F9051F }\n&lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;p&gt; this is a paragraph. &lt;\/p&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n<p>Red is the color of paragraph now. <span class=\"hex js-hex selectable\">#F9051F<\/span> is one of the shades of red color.<br \/>\n<a id=\"topic3\"><\/a><\/p>\n<h3>Inline styles<\/h3>\n<p>An inline style sheet is used to apply CSS on single elements inside the body tag of <a href=\"https:\/\/www.copahost.com\/blog\/what-is-html\/\">HTML<\/a>. CSS can be applied on any HTML selector specifically. Add the style attribute in the selector tag. The style attribute can contain any CSS property. Following is an example of changing the color of a paragraph using inline styles and color codes.<\/p>\n<pre class=\"lang:default decode:true\">&lt;body&gt;\n&lt;p style=\"color:#EEF905\"&gt; this is a paragraph &lt;\/p&gt;\n&lt;\/body&gt;<\/pre>\n<p>Yellow is the color of paragraph now. <span class=\"hex js-hex selectable\">#EEF905 <\/span>is one of the shades of yellow color.<\/p>\n<p>Other ways of changing font color are by using the id selector and class selector.<br \/>\n<a id=\"topic4\"><\/a><\/p>\n<h3>Id selector<\/h3>\n<p>The id selector uses id attribute of an HTML element to select a specific element. Id of the element should be unique. Following is an example of changing CSS by using the id selector and an external style sheet. To select an element with a specific id, write a hash (#) character, followed by the id of the element.<\/p>\n<pre class=\"lang:default decode:true\">&lt;html&gt;\n&lt;head&gt;\n&lt;link\u00a0rel=\"stylesheet\"\u00a0type=\"text\/css\"\u00a0href=\"external.css\"&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;p id=\"para1\"&gt; this is a paragraph &lt;\/p&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n<p>Then, inside the external.css file, we will define the HTML font color:<\/p>\n<pre class=\"lang:default decode:true\">#para1 { color: #05F91E }<\/pre>\n<p>Finally, green is the color of the paragraph now. <strong>#05F91E<\/strong> is one of the shades of green color. Id selector can also work with internal style sheets.<br \/>\n<a id=\"topic5\"><\/a><\/p>\n<h3>Class selector<\/h3>\n<p>Alternatively, you can use class selectors to set the HTML font color. This way, the class selector uses the class attribute of an HTML element to select a specific element or elements. Unlike the id selector, it is not necessary that class name should be unique. Following is an example of changing CSS by using a class selector and an external style sheet. To select an element with a specific class, write a dot (.) character, followed by the class of the element.<\/p>\n<pre class=\"lang:default decode:true\">&lt;html&gt;\n&lt;head&gt;\n&lt;link\u00a0rel=\"stylesheet\"\u00a0type=\"text\/css\"\u00a0href=\"external.css\"&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;p class=\"para1\"&gt; this is a paragraph &lt;\/p&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n<p>external.css<\/p>\n<pre class=\"lang:default decode:true\">.para1 { color: #EB05F9 }<\/pre>\n<p>Pink is the color of paragraph now. The HTML font color code is <strong>#EB05F9 <\/strong>. This is one of the shades of pink color. Similar to id selector, the class selector can also be used with internal style sheets.<br \/>\n<a id=\"topic6\"><\/a><\/p>\n<h3>A brief history of HTML font colors in the Web<\/h3>\n<p>The mosaic browser was one of the earliest web browsers in the 90s. Most of the browsers during that time were <a href=\"https:\/\/pt.wikipedia.org\/wiki\/Unix\">UNIX<\/a> based and text-heavy. There was no approach for graphics. The browser war started between <a href=\"https:\/\/www.microsoft.com\">Microsoft<\/a> and Netscape in 1996 for ultimate browser dominance. RGB model was then in its starting phase. <a href=\"https:\/\/www.copahost.com\/blog\/web-design-franchise\/\">Evolution in web design<\/a> started and in the meantime, CSS started to grow. Everyone started feeling that black and white web pages are dull and there is a need for attractive web design. Use of colors began but it was not long that designers realized the RGB model provides more options for them. Red, green and blue light are added together in various ways to reproduce a broad array of colors. These shades were available in six-digit codes and they were easy to use with CSS.<\/p>\n<p>HTML font colors made dull black and white web pages look efficient and attractive. Following is an <a href=\"https:\/\/www.copahost.com\/blog\/web-server-examples\/\">example of a web<\/a> page without colors. Clearly, it is visible that how bad a web page is without colors.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-1107 size-large\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-1024x698.png\" alt=\"html\" width=\"1024\" height=\"698\" srcset=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-1024x698.png 1024w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-300x204.png 300w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-768x523.png 768w, https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w.png 1264w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><br \/>\n<a id=\"topic7\"><\/a><\/p>\n<h3><strong>Conclusion<\/strong><\/h3>\n<p>There was a time when computers were only black and white. They were surely dull. But as technology advanced, computers and its screens advanced too. Web technology started growing in the mid-90s. CSS was one such technology. CSS, combined with the RGB model, made the web designing more attractive and efficient. HTML font colors were one important aspect of this. Well, everything looks better with colors. Every web <a href=\"https:\/\/www.copahost.com\/blog\/create-custom-404-error-page-htaccess\/\">page in modern times is created<\/a> by various combination of colors. CSS plays an important part in it.<\/p>\n<p>Read more about CSS colors <a href=\"https:\/\/www.tutorialspoint.com\/css\/css_colors.htm\">here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Color name HEX Code RGB Code Black #000000 (0,0,0) grey11 #1C1C1C (28,28,28) grey21 #363636 (54,54,54) grey31 #4F4F4F (79,79,79) DimGray #696969 (105,105,105) Gray #808080 (128,128,128) DarkGray #A9A9A9 (169,169,169) Silver #C0C0C0 (192,192,192) LightGrey #D3D3D3 (211,211,211) Gainsboro #DCDCDC (220,220,220) SlateBlue #6A5ACD (106,90,205) SlateBlue1 #836FFF (131,111,255) SlateBlue3 #6959CD (105,89,205) DarkSlateBlue #483D8B (72,61,139) MidnightBlue #191970 (25,25,112) Navy #000080 (0,0,128) DarkBlue [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1105","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>HTML font color: Table of colors and how to use in your site - Copahost<\/title>\n<meta name=\"description\" content=\"They are different ways of changing font color in CSS and HTML. Click on the link above and learn the ways of changing font color with examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.copahost.com\/blog\/font-color-html\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HTML font color: Table of colors and how to use in your site - Copahost\" \/>\n<meta property=\"og:description\" content=\"They are different ways of changing font color in CSS and HTML. Click on the link above and learn the ways of changing font color with examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.copahost.com\/blog\/font-color-html\/\" \/>\n<meta property=\"og:site_name\" content=\"Copahost\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-17T10:51:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-22T11:03:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-1024x698.png\" \/>\n<meta name=\"author\" content=\"Gustavo Gallas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gustavo Gallas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/\"},\"author\":{\"name\":\"Gustavo Gallas\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246\"},\"headline\":\"HTML font color: Table of colors and how to use in your site\",\"datePublished\":\"2019-07-17T10:51:21+00:00\",\"dateModified\":\"2023-06-22T11:03:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/\"},\"wordCount\":1434,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-1024x698.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.copahost.com\/blog\/font-color-html\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/\",\"name\":\"HTML font color: Table of colors and how to use in your site - Copahost\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-1024x698.png\",\"datePublished\":\"2019-07-17T10:51:21+00:00\",\"dateModified\":\"2023-06-22T11:03:58+00:00\",\"description\":\"They are different ways of changing font color in CSS and HTML. Click on the link above and learn the ways of changing font color with examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.copahost.com\/blog\/font-color-html\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/#primaryimage\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w.png\",\"width\":1264,\"height\":861,\"caption\":\"B&W\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.copahost.com\/blog\/font-color-html\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.copahost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML font color: Table of colors and how to use in your site\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"name\":\"Copahost\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.copahost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\",\"name\":\"Copahost\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"width\":223,\"height\":40,\"caption\":\"Copahost\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246\",\"name\":\"Gustavo Gallas\",\"description\":\"Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development\u200b. Also have brewing skills.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/gustavo-gallas-107926196\/\"],\"url\":\"https:\/\/www.copahost.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HTML font color: Table of colors and how to use in your site - Copahost","description":"They are different ways of changing font color in CSS and HTML. Click on the link above and learn the ways of changing font color with examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.copahost.com\/blog\/font-color-html\/","og_locale":"en_US","og_type":"article","og_title":"HTML font color: Table of colors and how to use in your site - Copahost","og_description":"They are different ways of changing font color in CSS and HTML. Click on the link above and learn the ways of changing font color with examples.","og_url":"https:\/\/www.copahost.com\/blog\/font-color-html\/","og_site_name":"Copahost","article_published_time":"2019-07-17T10:51:21+00:00","article_modified_time":"2023-06-22T11:03:58+00:00","og_image":[{"url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-1024x698.png"}],"author":"Gustavo Gallas","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Gustavo Gallas","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/#article","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/"},"author":{"name":"Gustavo Gallas","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246"},"headline":"HTML font color: Table of colors and how to use in your site","datePublished":"2019-07-17T10:51:21+00:00","dateModified":"2023-06-22T11:03:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/"},"wordCount":1434,"commentCount":0,"publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-1024x698.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.copahost.com\/blog\/font-color-html\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/","url":"https:\/\/www.copahost.com\/blog\/font-color-html\/","name":"HTML font color: Table of colors and how to use in your site - Copahost","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/#primaryimage"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w-1024x698.png","datePublished":"2019-07-17T10:51:21+00:00","dateModified":"2023-06-22T11:03:58+00:00","description":"They are different ways of changing font color in CSS and HTML. Click on the link above and learn the ways of changing font color with examples.","breadcrumb":{"@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.copahost.com\/blog\/font-color-html\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/#primaryimage","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/07\/b-and-w.png","width":1264,"height":861,"caption":"B&W"},{"@type":"BreadcrumbList","@id":"https:\/\/www.copahost.com\/blog\/font-color-html\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.copahost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"HTML font color: Table of colors and how to use in your site"}]},{"@type":"WebSite","@id":"https:\/\/www.copahost.com\/blog\/#website","url":"https:\/\/www.copahost.com\/blog\/","name":"Copahost","description":"","publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.copahost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.copahost.com\/blog\/#organization","name":"Copahost","url":"https:\/\/www.copahost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","width":223,"height":40,"caption":"Copahost"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246","name":"Gustavo Gallas","description":"Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development\u200b. Also have brewing skills.","sameAs":["https:\/\/www.linkedin.com\/in\/gustavo-gallas-107926196\/"],"url":"https:\/\/www.copahost.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/1105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/comments?post=1105"}],"version-history":[{"count":59,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/1105\/revisions"}],"predecessor-version":[{"id":2999,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/1105\/revisions\/2999"}],"wp:attachment":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/media?parent=1105"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/categories?post=1105"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/tags?post=1105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}