Free Shopify Tool

Free HEX to RGB & HSL Color Converter

Convert a HEX colour to RGB and HSL values and CSS code you can copy.

  • 100% free
  • No sign-up
  • Runs in your browser — nothing is uploaded

About this tool

Design tools and CSS use different colour formats. This converter gives you all the common ones from a single HEX code.

Short codes like #fff work too.

Frequently asked questions

Quick answers to what people ask most.

What is a HEX color?

A six-digit code that holds red, green and blue values, like #1dbf73.

Which format should I use in CSS?

Any works. HEX is the most common and HSL is easiest to adjust.

Can I check contrast?

Yes, use the Color Contrast Checker.