Color Picker and Color Code Converter
Pick a color from the area or type its code; copy its HEX, RGB, HSL, HSV, OKLCH, OKLab and CMYK values with one click.
The tool could not be loaded. Reload the page; if the problem persists, update your browser.
Understands every format
Type #6366F1, rgb(99 102 241), hsl(239 84% 67%), oklch(58.5% 0.204 277) or a CSS color name such as "tomato". An invalid code marks the field but never discards the last valid color.
Opacity and eyedropper
The opacity slider carries the color into eight-digit HEX and the alpha value of rgb()/hsl(). In supporting browsers you can pick the color of any pixel on your screen.
Works with the keyboard
With the saturation–brightness area focused, the arrow keys change the value by one percent, or ten with Shift. Anything you can pick with a mouse you can pick with keys.
All ColorLab tools
- Quick startPick a color and see its formats, palette, shades and contrast on one screen.
- Palette generatorBuild palettes from color harmonies and lock the ones you like.
- Gradient studioLinear, radial and conic CSS gradients; SVG and PNG.
- Contrast checkerWCAG 2.2 AA/AAA checks with suggested fixes.
- Image colorsFind the dominant colors in a photo and pick colors by clicking.
- Shade scaleEleven shades from 50 to 950 from one color; Tailwind output.
- Color blindnessHow does your palette look with color vision deficiency?
- Theme builderAccessible light and dark themes as CSS variables.
- CSS effectsBox shadow, text shadow and glass effect.
- Palette libraryReady-made palettes; search by tag and save favorites.
- Brand colorsRole colors and a printable color guide.
- ExportCSS, SCSS, JSON, Tailwind, SVG and PNG.