HTML Color Names - GeeksforGeeks

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:

Comment More info Next Article Logging Script Errors in JavaScript

M

manandeep1610 Follow Improve

Từ khóa » Html Color Names Json