Design tool
Color Converter
Paste a hex color or an rgb() value and see the other formats.
Tip: press Enter in a field to run the tool.
Result will show here after you run the tool.
How to convert a color
- Paste a hex color or an rgb() value, or use the color picker.
- Click Convert color.
- Copy the HEX, RGB, or HSL line you need.
Three-digit hex values such as #46c are expanded before conversion.
Frequently asked questions
Which formats are accepted?
Hex colors with or without a leading #, and rgb() or rgba() values. The alpha channel is ignored.
Is the color sent to a server?
No. The conversion runs in your browser.
Related design tools
Keep working without leaving the site.
Color contrast checker
See whether two colors pass WCAG AA and AAA.
Open toolPX and REM
Convert pixels to rem, or rem back to pixels.
Open toolCSS gradient
Build a linear or radial gradient and copy the CSS.
Open toolBorder radius
Preview a border-radius and copy the CSS property.
Open toolTints and shades
Build lighter and darker steps from one hex color.
Open toolAspect ratio
Simplify a width and height, or find the missing side.
Open tool