How to use the Color Picker & Converter
- Pick a colour or type a HEX, RGB or HSL value.
- Copy the code in the format you need.
- Use the tints and shades to build a palette.
HEX, RGB and HSL
- HEX (#4f46e5) — compact code used in web design and CSS.
- RGB (79, 70, 229) — red, green and blue amounts from 0–255.
- HSL (243°, 75%, 59%) — hue, saturation and lightness; easiest for making lighter or darker variations.
Contrast for readable text
The WCAG accessibility guidelines recommend a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. The tool shows whether white or black text is more readable on your colour.
Frequently asked questions
Can I pick a colour from my screen?
Yes, in Chrome and Edge: click “Pick from screen” to use the eyedropper on anything visible.