Color Picker & Converter
Pick colors and convert between HEX, RGB, HSL formats. Generate color palettes.
Pick colors and convert between HEX, RGB, HSL formats. Generate color palettes.
This color picker lets you choose any color visually, fine-tune it with HEX, RGB, or HSL values, and copy the exact code in the format your project needs. It’s made for web developers writing CSS, designers matching brand colors, and anyone who has ever needed “that exact shade of blue” in usable form.
A HEX code like #3B82F6 is just RGB written in hexadecimal: 3B is red, 82 is green, F6 is blue, each channel running from 00 to FF (0–255). It’s compact and works everywhere in CSS, which is why it dominates stylesheets — but it’s nearly impossible to adjust intuitively.
HSL was invented to fix that. Hue is the color’s position on the wheel (0–360°: 0 is red, 120 green, 240 blue), saturation is its intensity (0% is gray), and lightness runs from black (0%) through the pure color at 50% to white (100%). Want a darker button variant? Keep hue and saturation, drop lightness by 10%.
Building a palette from scratch? Start with one base color and let the harmony generators do the math: triadic schemes give three balanced accents, analogous schemes give safe neighbors for backgrounds and hover states. Before committing to a text/background pair, run it through a contrast checker — what looks pleasant to you may be unreadable for users with low vision.
HEX, RGB, and HSL formats are supported with real-time conversion between all three.
Yes, you can type a HEX value into the input field to jump straight to a specific color, and invalid codes are flagged with an error message.
They are classic color-wheel harmonies. Complementary colors sit opposite your chosen color, analogous colors sit next to it, and triadic colors are evenly spaced 120 degrees apart. The tool generates all three palettes automatically from your selection.