HEX
#
RGB
HSL
HSV
CSS snippets
color: #6366f1;
color: rgb(99, 102, 241);
color: hsl(239, 84%, 67%);
Color format reference
- HEX — Six hex digits (0–9, A–F) in pairs for Red, Green, Blue. Used everywhere in CSS and design tools.
- RGB — Three numbers 0–255 for Red, Green, Blue channels.
- HSL — Hue (0–360°), Saturation (0–100%), Lightness (0–100%). Great for adjusting brightness/tint intuitively.
- HSV — Hue (0–360°), Saturation (0–100%), Value (0–100%). Used in Photoshop and many design apps.