Which color format should you use?
Different formats describe the same color from different angles. The best choice depends on whether you are exchanging exact sRGB channel values, adjusting a color by hue, or building a scale where perceived lightness matters.
Compact sRGB notation that is convenient for design tokens, handoff, and static color constants. Eight-digit HEX can carry alpha, but channel relationships are not intuitive to edit by eye.
Direct sRGB channel values. Use these when you need explicit red, green, blue, and opacity values or when integrating with APIs that expose channels numerically.
A hue-based view of sRGB that can be easier for quick manual adjustments. HSL lightness is mathematical rather than perceptual, so equal lightness values can look very different across hues.
Another sRGB representation built from hue plus whiteness and blackness. It is useful when you think about tinting or shading a base hue, while still resolving to ordinary sRGB.
Device-independent CIE spaces using a D50 white point. LCH is the polar form of Lab: lightness, chroma, and hue can be easier to reason about than the rectangular a/b axes.
Perceptual spaces using D65. OKLCH is especially practical when designing ramps because its lightness and chroma controls tend to track visual changes more predictably than HSL.