Color Converter
Convert between HEX, RGB and HSL, with a color picker and palette references.
#2563EB
Click a value to copy it
Color preview
Editing any field syncs the others
How to use
- Enter a value in any field (HEX / RGB / HSL), or use the color picker.
- The other formats update automatically and the preview shows the color.
- Use Lighter / Darker / Complementary for palette ideas, and click a value to copy it.
Frequently asked questions
Are shorthand HEX values supported?
Yes — both 3-digit shorthand like #fff and full 6-digit values. 8-digit HEX with alpha uses its RGB portion.
Can I paste CSS-style RGB?
Yes. Plain values such as 255, 99, 71 and the rgb(255, 99, 71) form are both accepted, with commas or spaces as separators.
How is the complementary color calculated?
The hue is rotated by 180 degrees in HSL space while saturation and lightness stay the same — a quick way to generate a contrasting color.
Privacy & data handling
This tool runs entirely in your browser. Text you type and files you choose are never uploaded to a server or saved by ToolNest. Closing the page removes everything.