. and Usage. The color attribute specifies the color of the text inside a <font> element. . hex_number, Specifies the text color with a hex code (like '#ff0000'). The most common way of coloring HTML text is by using hexadecimal color codes (Hex code for short). Simply add a style attribute to the text element you want . HTML Color Codes. HEX. #ff5733. RGB. 255, 87, 51. HSL. 11, 80%, 60% Font Colour. To change the colours of the text on a page for the entire page, you can define it in the <body> tag. I have a complete tutorial on body here. Colours in HTML have to be defined as HEX codes, which are 6-digit codes representing the amount of red, green and blue (RGB) in the colour. May 21, 2018 - HTML color codes and names. HTML color codes are hexadecimal triplets 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. Get HTML color codes for your website. Color chart, color picker and color palettes. Fonts: Is the FONT tag driving you crazy? Learn how to break the FONT habit and get all the cool font effects with less work. Includes plenty of code and working . HTML Tag Reference. Specifies the size and color of the font. Codes and Examples. How to Use Font Color Tags in HTML. Three Methods:Sample HTML CodeUsing HTML TagsUsing In-Line CSSCommunity Q&A. The HTML font tag is now . The color codes, as I mentioned above, are technically called hex codes. . The use of CSS is vastly superior to using inline FONT tags and such, as it separates .