How to Use the Color Picker
- Pick a color visually — click anywhere on the color gradient to select a hue and saturation.
- Adjust brightness — use the brightness slider to make the selected color lighter or darker.
- Enter a color value — type directly in HEX (#FF5733), RGB (255,87,51), or HSL (11,100%,60%) format to jump to a specific color.
- Copy in any format — copy the color value as HEX, RGB, RGBA, HSL, or CSS color name.
- Use the eyedropper — if supported by your browser, use the eyedropper tool to sample a color from anywhere on your screen.
Understanding Color in Web Design
Color in Development and Design
Design token systems
Rather than using raw color values throughout a codebase, design systems define named color tokens: --color-primary: #7fff6f; --color-error: #ff4444; --color-background: #0c0c0e. These semantic names (primary, error, background) are used in components instead of raw hex values. When the brand color changes, updating one token updates the entire application. Tailwind CSS, Material Design, and all modern design systems use this token approach.
Dark mode color strategy
Dark mode requires rethinking color for each theme. Strategies: avoid pure black (#000) — use near-black (#0c0c0e, #121212) for reduced eye strain. Reduce saturation of accent colors — vivid colors appear harsher on dark backgrounds. Don't simply invert colors — lightness values need redesigning, not just flipping. CSS custom properties make dual-theme implementation clean: define all colors as variables, swap variable values with a data-theme attribute or prefers-color-scheme media query.
Color accessibility checklist
Never rely on color alone to convey information — colourblind users (8% of males, 0.5% of females) cannot distinguish red/green or blue/yellow combinations. Always accompany color cues with text, icons, or patterns. Test designs with colorblindness simulators (Coblis, Stark plugin). Check all text/background combinations with a contrast ratio tool. WCAG AA (4.5:1 ratio) is the legal requirement in many jurisdictions for public-facing digital products.
Frequently Asked Questions
#3266AD) is used in HTML/CSS. RGB (rgb(50, 102, 173)) defines red, green, blue channels from 0–255. HSL (hsl(214, 55%, 44%)) — hue (color), saturation (intensity), lightness — is more intuitive for adjusting colors.#3266AD → R: 0x32=50, G: 0x66=102, B: 0xAD=173. This tool does the conversion automatically.