Colour converter

Color Converter: HEX, RGB and HSL

Pick a colour or type a HEX code and get matching RGB and HSL values ready to paste into CSS.

RGB

rgb(8, 145, 178)

HSL

hsl(192, 91%, 36%)

How to use the Color Converter (HEX, RGB, HSL)

  1. Step 1

    Pick or type a colour

    Use the picker, or type a HEX code like #0891b2.

  2. Step 2

    Adjust the values

    Change RGB or HSL numbers and the others follow.

  3. Step 3

    Copy the CSS

    Tap Copy next to the format you need.

Color Converter (HEX, RGB, HSL) FAQ

More free tools