A hexadecimal color is specified with: #RRGGBB, where the RR (red), GG (green) and BB (blue) hexadecimal integers specify the components of the color. Text color using Hex color codesThe 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 to color – a paragraph in the example below – and use the color property with your Hex code. |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<p style="color:#FF0000";>Red paragraph text</p>
</body>
</html>
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<p style="color:red;">Red paragraph text</p>
</body>
</html>
Reffered: https://htmlcolorcodes.com/tutorials/html-text-color/
What is HTML HEX Colors | HTML HEX Colors |
How to create HTML HEX Color Values | HTML HEX Colors |
How to create HTML Shades of Gray | HTML HEX Colors |
Text color using Hex color codes | HTML HEX Colors |
Text color using HTML color names | HTML HEX Colors |
Read Full: | HTML HEX Colors |
Category: | Web Tutorial |
Sub Category: | HTML HEX Colors |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 55 |