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.
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: