Skip to content
Related Articles

Related Articles

Improve Article
HTML Color Names
  • Last Updated : 31 Dec, 2020

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 :