Colour Format Converter

Convert a CSS colour to HEX, RGB, HSL and OKLCH.

Processed on your device

Input

Open a local UTF-8 text file5 MiB maximum. The file opens in the text box above.Or drop a file here.

How to use this tool

  1. Enter the values for colour format converter.
  2. Adjust the labelled settings, then run the tool. Convert a CSS colour to HEX, RGB, HSL and OKLCH.
  3. Review the result before copying or downloading it. Clear the tool when finished.

Things to know

  • Converts CSS colour notation. Out-of-gamut colours can be clipped in HEX/RGB; this does not provide print colour management.

You might also need

More in images & design