What the color picker does
Designers and developers write the same colour in different formats. This tool keeps HEX, RGB and HSL values in sync: change one and the others update. It shows a large live preview, a ready-made palette of ten shades and tints of the chosen colour, and a button to copy any value.
Where your browser supports the EyeDropper API, you can pick a colour from anywhere on your screen, such as a logo or a photo.
How to use it
- Pick a colour with the picker or type a HEX, RGB or HSL value.
- Copy the format you need.
- Use the eyedropper to sample a colour from your screen, if your browser supports it.
- Use the shade and tint palette to find lighter and darker versions that fit together.
HEX, RGB and HSL compared
The same colour in three notations:
HEX #6366F1
RGB rgb(99, 102, 241)
HSL hsl(239, 84%, 67%)Which one to use
- HEX: compact and common in CSS and design tools.
- RGB: useful when you need transparency with rgba().
- HSL: easiest for adjusting. Raise lightness for a tint, lower it for a shade, change saturation for a duller or stronger colour.
- Check text contrast. Body text should have a contrast ratio of at least 4.5:1 against its background for readability.
Related tools
- Favicon Generator: Upload one image and generate every standard favicon size plus a web manifest and copy-paste HTML tags, all bundled in a downloadable ZIP.
- Image Cropper: Interactively drag, zoom, and crop any image with aspect-ratio presets, then export the exact crop at full resolution as a PNG.
- QR Code Generator: Generate a customizable QR code from any text or URL and download it as a PNG.
- Image Format Converter: Convert images between PNG, JPEG, and WEBP with an adjustable quality slider and a live before/after file-size comparison.
