Skip to content

Colour Code Converter

Convert colour codes between HEX, RGB, HSL and HSV, and get ready-to-paste Unity and Godot colour values. Free online colour converter.

Free, no sign-upNothing you add is uploaded
Loading the tool

How to use the Colour Code Converter

  1. Type a colour in any format (#c2622d, rgb(194 98 45), hsl(21 62% 47%)), or use the picker.
  2. Every other format updates as you type.
  3. Press Copy next to the one you need.

Questions

What do the Unity and Godot values mean?

Both engines store colours as numbers from 0 to 1. The tool writes them as code you can paste: new Color(r, g, b) for Unity and Color(r, g, b) for Godot.

Does it support transparency?

Yes. Add an alpha value, for example #c2622d80 or rgb(194 98 45 / 50%), and every format includes it.

Hover over one for a quick look.

More in Colour
  • Colour Palette ExtractorNew

    Pull the main colours out of any image and export the palette.

  • Sprite Sheet MakerAI

    Turn a GIF or video into a game-ready sprite sheet.

  • 3D Model to Sprite SheetNew

    Record a 3D model’s animation as a sprite sheet, from up to 8 directions.

  • Image Compressor

    Make JPG, PNG and WebP files smaller and see how much you save.