Skip to content
utilnest

Color converter

Paste a colour in any format and get every other format, plus tints and shades.

  • Works in your browser
  • No sign-up
  • Free to use

How to use Color converter

  1. 1

    Type or paste a colour, such as #2563eb, rgb(37 99 235), hsl(221 83% 53%) or a name like tomato, or pick one with the swatch.

  2. 2

    See it converted to HEX, RGB, HSL, HSV, CMYK, OKLCH and its CSS name.

  3. 3

    Copy the format you need, or click a tint or shade to convert that instead.

What this tool does

The colour converter translates a colour between the formats that designers, developers and printers use. Paste a value from a brand guide, a design file or a stylesheet, and copy it in the format your project needs.

Features

  • Reads almost anything: HEX (with alpha), RGB, HSL, HSV/HSB, CMYK, OKLCH and the 148 CSS colour names.
  • Writes seven formats at once, each with its own copy button, in modern CSS syntax.
  • Transparency kept in HEXA, RGB, HSL and OKLCH, with a checkerboard preview.
  • CSS name, exact or the closest match.
  • Tints and shades: nine lighter and darker versions at the same hue, made in OKLCH.

Limits

  • Values are rounded for display, so converting back and forth can shift a channel by one.
  • Colours outside the normal screen range (sRGB), for example very vivid OKLCH values, are brought into range by lowering their colourfulness.
  • CMYK is a profile-free approximation, not a print-ready conversion.

Where your colours are processed

This tool works in your browser: colours are converted on your own device, so nothing is sent to our server for this tool. Some other tools on UtiloNest do use our server, and their pages say so.

Frequently asked questions

Which colour formats can I enter?

HEX with 3, 4, 6 or 8 digits (with or without #), rgb() and rgba(), hsl() and hsla(), hsv() or hsb(), cmyk(), oklch() and all 148 CSS colour names. Both the modern space-separated syntax and the older comma syntax work.

Why might my CMYK values differ from Photoshop's?

Printers mix ink according to a colour profile for their paper and press. This tool uses the simple mathematical conversion without a profile, which matches what most web tools show. For print work, convert with your printer's profile in a design app.

What is OKLCH and why is it useful?

OKLCH describes a colour by lightness, chroma (colourfulness) and hue, in a way that matches how people see. Two colours with the same OKLCH lightness look equally light, which makes it great for building colour scales and accessible palettes. Modern CSS supports it directly.

What does "closest" CSS name mean?

If your colour isn't exactly one of the named CSS colours, the tool shows the nearest one by how similar it looks, measured in the OKLab colour space. It's handy for describing a colour in words.

Is anything sent to a server?

No. All conversions run in your browser.

Was this tool helpful?