Skip to content
Related Articles

Related Articles

HTML Color Names

View Discussion
Improve Article
Save Article
  • Last Updated : 14 Apr, 2022
View Discussion
Improve Article
Save Article

HTML colors are linked to their respective color codes. They act as identifiers for representing various colors on the web. These codes can be keyword names, hexadecimal values, RGB (Red, Green, Blue) triplets, or HSL (Hue, Saturation, Lightness) triplets. There can be 16,777,216 color choices to choose from.

For example:

The color Blue can be represented  as follows:

  • Blue(keyword name)
  • #0000ff (HEX)
  • (0,0,255) (RGB)
  • (0, 100%, 50%) (HSL)

A tool called color picker lets a user select a color by clicking on the visual color range to locate a specific code. A color palette offers a list of common colors for rapid selection.

HTML color palette consisting of color sample, color name, and HEX value:

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!