Open In App

HTML Color Names

Last Updated : 14 Apr, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

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:


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads