Free Online Colour Picker and Palette Generator
Pick a colour on a draggable saturation and value square with a hue strip and an alpha slider, and read it as hex, rgb, hsl, hsv, cmyk and a CSS name at once. Then build harmonies, a tint and shade ramp and a 50 to 900 scale, and export as CSS, SCSS, Tailwind or JSON.
| hex | |
|---|---|
| hex with alpha | |
| rgb | |
| rgba | |
| hsl | |
| hsla | |
| hsv | |
| cmyk | |
| CSS name | |
| relative luminance | - |
| contrast on white | - |
| contrast on black | - |
Enjoying WizTools123? Help keep our server infrastructure 100% free and open for everyone.
What the 50 to 900 Scale Is For
The numbering everybody uses, and what each step is usually doing.
A design system rarely uses one blue. It uses nine or ten of them, numbered so that a component can ask for "the light one" without hard-coding a hex value. The scale here keeps your hue and saturation and walks the lightness, and marks the step closest to the colour you picked so you can see where your brand colour lands.
| Step | Usually used for |
|---|---|
| 50, 100 | Page and panel tints, hover states on white, the background of a selected row. Too light for text of any size. |
| 200, 300 | Borders, dividers, disabled controls, and chart fills that need a label on top. |
| 400, 500 | The colour people mean when they say the brand colour. Buttons, links and icons, though check the contrast before putting white text on it. |
| 600, 700 | Hover and pressed states for those buttons, and the safe choice for coloured text on a white background. |
| 800, 900 | Headings, dark panels, and the background when you invert the whole thing. Nearly always passes contrast with white text. |
Two warnings. The steps are lightness targets, not measured perceptual steps, so a yellow scale will feel flatter at the light end than a blue one; the contrast figures on this page are the honest check. And a scale generated from one colour is a starting point for a designer, not a replacement for one.
How to Pick a Colour and Build a Palette
A few steps, and nothing is uploaded.
What to Know About Colour Values
Including why one colour in a hue-rotated palette always looks wrong.
Key Features & Capabilities
What this tool does, and what it deliberately does not.
About the Colour Picker
Most colour pickers on the web are an input of type colour with a list of hex values next to it. That is fine until you need to nudge the saturation without changing the hue, or you want to know what the same colour looks like in HSL, or you need nine shades of it for a component library. This page is the fuller version: a square and a strip you can drag, every format at once, and a palette built from the colour you chose.
The square and the strip are drawn on a canvas, which is the only honest way to do it: the square is a hue at full saturation with white laid across it and black laid down it, and the position of the marker is the saturation and the value. Dragging works with a mouse, a trackpad or a finger, because pointer events cover all three. Everything else is arithmetic that the shared engine on this site already had, so the conversions here are the same ones the contrast checker uses.
The palette half is where the care went. Harmonies are rotations of the hue on the colour wheel, which is the correct maths and also the reason the results sometimes look odd, so the page says why instead of quietly fixing it. The 50 to 900 scale walks the lightness against fixed targets and marks the step your own colour is nearest to. And the export is a plain text block in whichever of the four formats you use, with a variable name you choose rather than one invented for you.
Frequently Asked Questions
Formats, alpha, CMYK, the eyedropper and what the scale is for.
Every Other Developer Tool
88 more tools in this set. All free, all in your browser.