Gainsboro colored paragraph text<\/p>\n<\/body><\/pre>\n
h1 { color: Brown; }\np { color: Gainsboro; }<\/pre>\nDifferent HTML Color Codes<\/h3>\n
Colors can be denoted by using their hex value or their name. HTML has support for the most common colors; in this article, I will share with you 140 names and hex values of these colors. One thing to keep in mind is that you don’t have to limit yourself to these colors; you can use any color picker tool to find the Hex value of any color you want and use it on your web page.<\/p>\n
Now that you know what HTML Color Names are and how you can use them in your pages, here is a list of Color names with appropriate color codes:<\/p>\n
1. Grey and Black HTML Color Names<\/h4>\n
Grey and Black colors are, in most cases, perfect for the text color of the page as against a white background; these colors have the best readability. One interesting thing to keep in mind is that modern phones with OLED displays done need any battery power to display Black color; if your audience is going to be on mobile, it is a wise idea to use Black as a background color and white or other light colors as the foreground color.<\/p>\n
Code<\/strong><\/td>\nColor<\/strong><\/td>\n<\/tr>\n | #000000<\/strong><\/td>\n | Black<\/td>\n<\/tr>\n | #0C090A<\/strong><\/td>\n | Night<\/td>\n<\/tr>\n | #2C3539<\/strong><\/td>\n | Gunmetal<\/td>\n<\/tr>\n | #2B1B17<\/strong><\/td>\n | Midnight<\/td>\n<\/tr>\n | #34282C<\/strong><\/td>\n | Charcoal<\/td>\n<\/tr>\n | #25383C<\/strong><\/td>\n | Dark Slate Grey<\/td>\n<\/tr>\n | #3B3131<\/strong><\/td>\n | Oil<\/td>\n<\/tr>\n | #413839<\/strong><\/td>\n | Black Cat<\/td>\n<\/tr>\n | #3D3C3A<\/strong><\/td>\n | Iridium<\/td>\n<\/tr>\n | #463E3F<\/strong><\/td>\n | Black Eel<\/td>\n<\/tr>\n | #4C4646<\/strong><\/td>\n | Black Cow<\/td>\n<\/tr>\n | #504A4B<\/strong><\/td>\n | Gray Wolf<\/td>\n<\/tr>\n | #565051<\/strong><\/td>\n | Vampire Gray<\/td>\n<\/tr>\n | #5C5858<\/strong><\/td>\n | Gray Dolphin<\/td>\n<\/tr>\n | #625D5D<\/strong><\/td>\n | Carbon Gray<\/td>\n<\/tr>\n | #666362<\/strong><\/td>\n | Ash Gray<\/td>\n<\/tr>\n | #6D6968<\/strong><\/td>\n | Cloudy Gray<\/td>\n<\/tr>\n | #726E6D<\/strong><\/td>\n | Smokey Gray<\/td>\n<\/tr>\n | #736F6E<\/strong><\/td>\n | Gray<\/td>\n<\/tr>\n | #837E7C<\/strong><\/td>\n | Granite<\/td>\n<\/tr>\n | #848482<\/strong><\/td>\n | Battleship Gray<\/td>\n<\/tr>\n | #B6B6B4<\/strong><\/td>\n | Gray Cloud<\/td>\n<\/tr>\n | #D1D0CE<\/strong><\/td>\n | Gray Goose<\/td>\n<\/tr>\n | #E5E4E2<\/strong><\/td>\n | Platinum<\/td>\n<\/tr>\n | #BCC6CC<\/strong><\/td>\n | Metallic Silver<\/td>\n<\/tr>\n | #98AFC7<\/strong><\/td>\n | Blue Gray<\/td>\n<\/tr>\n | #6D7B8D<\/strong><\/td>\n | Light Slate Gray<\/td>\n<\/tr>\n | #657383<\/strong><\/td>\n | Slate Gray<\/td>\n<\/tr>\n | #616D7E<\/strong><\/td>\n | Jet Gray<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n | 2. Noms de couleurs HTML bleus<\/h4>\nLe texte souligné en bleu est considéré comme un lien car il s'agit du style de lien par défaut pour la plupart des navigateurs Web. Vous devez éviter d'utiliser du bleu pour tout le texte d'une page, car les visiteurs peuvent le confondre avec des hyperliens.<\/p>\n
|