Free color picker: convert HEX, RGB, and HSL colors with palette generation and contrast detection
This color picker lets you select any color using the native browser color picker or by typing a HEX code directly. It instantly converts between all three CSS color formats, HEX (#2563eb), RGB (rgb(37,99,235)), and HSL (hsl(224,85%,53%)), with copy buttons for each. RGB and HSL sliders let you fine-tune individual channels. The tool automatically detects whether black or white text has better contrast against your chosen color, which is useful for designing accessible UI components.
The tint and shade palette generates 7 variations of your color from near-white to near-black by varying the lightness in HSL space while keeping the hue and saturation constant. This is the same technique used by Tailwind CSS and other design systems to create their color scales. Click any palette swatch to select that shade as your active color.
Frequently asked questions about color formats, HEX, RGB, and HSL
Need a disposable email address?Get a free instant throwaway email. No signup, no trace.
Get Free Temp Mail →