8 free design utilities — color picker, CSS generators, favicon maker, and more. All run in your browser, no signup needed.
Pick colors and convert between HEX, RGB, HSL, and CSS formats.
#EF4444rgb(239, 68, 68)hsl(0, 84%, 60%)rgba(239, 68, 68, 1)Colors on the web can be expressed in several formats, each with different strengths. Understanding them helps you use the right format for each context — HEX for design handoff, RGB for opacity control, HSL for programmatic color manipulation.
| Format | Example | Best for | Supports opacity |
|---|---|---|---|
| HEX | #ef4444 | Design systems, design-to-dev handoff, CSS | ✅ via #RRGGBBAA (8-digit) |
| RGB | rgb(239, 68, 68) | CSS variables, JavaScript color manipulation | ✅ via rgba() |
| HSL | hsl(0, 84%, 60%) | Programmatic color palettes, theming systems | ✅ via hsla() |
| HSB / HSV | 0°, 71%, 94% | Design tools (Figma, Photoshop) — not valid CSS | ❌ Not a CSS format |
| OKLCH | oklch(63% 0.21 27) | Perceptually uniform; modern CSS color-mix() | ✅ New CSS Color 4 |
HSL (Hue, Saturation, Lightness) maps directly to how humans perceive color. The hue is a 0–360° angle on the color wheel — changing only the hue shifts color while keeping the same tone. This makes it trivial to create color palettes: pick a hue, then vary lightness from 90% (near-white) to 10% (near-black) to get a full shade scale. Tailwind CSS's color system is built on this principle.
A color system defines a small, intentional set of colors that work together. It prevents the "50 shades of grey" problem where developers pick slightly different colors each time and the UI looks inconsistent. A minimal system needs a primary, a neutral scale, a success, a warning, and a destructive color.
:root {
/* Primary — generated with HSL at fixed hue */
--color-primary-50: hsl(0, 84%, 97%);
--color-primary-100: hsl(0, 84%, 92%);
--color-primary-500: hsl(0, 84%, 60%); /* brand red */
--color-primary-700: hsl(0, 84%, 40%);
--color-primary-900: hsl(0, 84%, 20%);
/* Semantic aliases */
--color-action: var(--color-primary-500);
--color-action-hover:var(--color-primary-700);
--color-danger: var(--color-primary-500);
}Common questions about Design Tools