🎨
Color Converter
HEX ↔ RGB ↔ HSL converter
About Color Converter
HEX is what design tools export. RGB is what you use in programmatic colour manipulation. HSL is what makes sense when you want to adjust lightness or create colour variations — changing the L value makes a colour lighter or darker, adding 180 to H gives you the complement.
Type or pick a colour in any format and all three update simultaneously. The output includes a ready-to-paste CSS custom property declaration.
The quick palette gives you 12 common UI colours as starting points.
Common Use Cases
- →Converting Figma or Sketch colour exports to CSS values
- →Creating lighter and darker variants by adjusting HSL lightness
- →Generating CSS custom properties from brand colour values
- →Finding the complement of a colour by adding 180 to the HSL hue