HTML color codes and names | html color name
Updated:08/16/2021byComputerHopeHTMLcolorcodesarehexadecimal[1]triplets[2]representingthecolorsred,green,andblue(#RRGGBB).Forexample,inthecolorred,thecolorcodeis#FF0000,whichis255red,0green,and0blue.Thesecolorcodescanchangethecolorofthebackground,text,andtablesonawebpage.MajorhexadecimalcolorcodesBelowaresomeofthecommoncolornamesandcodes.Withthesecolors,youcanalsousethecolorname.Forexample,inHTML[3]tagsandCSS[4]thatusecolorcodes,youcoulduse"red"insteadof"#FF0000".TipSeetheW3Ccolornames[5]for...
Updated: 08/16/2021 by Computer Hope
HTML color codes are hexadecimal[1] triplets[2] representing the colors red, green, and blue (#RRGGBB). For example, in the color red, the color code is #FF0000, which is 255 red, 0 green, and 0 blue. These color codes can change the color of the background, text, and tables on a web page.
Major hexadecimal color codesBelow are some of the common color names and codes. With these colors, you can also use the color name. For example, in HTML[3] tags and CSS[4] that use color codes, you could use "red" instead of "#FF0000".
TipSee the W3C color names[5] for a full list of color names or look for (W3C) in the table below.
Color code chartBlacks - Grays - Blues - Greens - Yellows - Browns - Orange - Reds - Pinks - Purples[6][7][8][9][10][11][12][13][14][15]
References hexadecimal (www.computerhope.com) triplets (www.computerhope.com) HTML (www.computerhope.com) CSS ...