#8B5CF6
Click the swatch to pick a color
HEX
RGB
HSL
๐จ Analogous Colors
โ๏ธ Complementary Color
How to use it
- Pick a color with the swatch, or type a value into any of the HEX, RGB or HSL boxes. The other two update instantly.
- Shorthand HEX like
#f0cworks too. - Click any chip in the palette or the complementary color to make it the current color.
- Hit Copy to put the code on your clipboard, ready for CSS.
About color codes
HEX codes are the most common way to write colors on the web. RGB describes a color by its red, green and blue values (0โ255). HSL uses Hue, Saturation and Lightness, which is often more intuitive when you want a lighter or darker shade. All three work in CSS.