Move the same color between common digital color representations.
Formula
Parse hex / RGB / HSL channels and convert between color models
Explanation
Hex packs 8-bit RGB channels. HSL rearranges the same color into hue, saturation, and lightness. Conversions are deterministic channel transforms (with gamut assumptions for sRGB-style hex/RGB).
Variables
R, G, Bred, green, blue channels
H, S, Lhue, saturation, lightness
hex#RRGGBB (or shorthand)
When to use
Design systems, CSS, and matching brand colors across tools.