← All postsSomeone applying Color Converter to finish a deadline task

Convert a Brand Teal From HEX to RGB, HSL and CMYK

Take one brand colour through HEX, RGB, HSL, HSV, HWB and CMYK, learn which format to trust, and tweak lightness without losing the hue.

color converterHEX to RGBHSLCMYK estimatebrand coloursdesign toolsbrowser tools
5 min readDesign & Marketing

A brand guide lists one teal as #0f766e. The developer needs it as a CSS value, the presentation designer wants RGB numbers, and the print vendor asks for CMYK. Re-typing it into three different programs is how a colour drifts by a shade without anyone noticing. Color Converter shows every format side by side from a single input.

In short: type or paste a colour in any common format, read the rows below it, copy the one you need, and keep the HEX value as the master copy.

How to Convert HEX RGB HSL

How to Convert HEX RGB HSL

What you get from one input

Enter #0f766e in the box. The tool shows a large swatch and eight rows. HEX is #0f766e and RGB is rgb(15, 118, 110). HSL is hsl(175, 77%, 26%) and HSV or HSB is hsv(175, 87%, 46%). HWB is hwb(175 6% 54%) and CMYK reads cmyk(87%, 0%, 7%, 54%). The nearest CSS name is teal, and a ready-made CSS line, color: #0f766e;, is there to copy. Each row has its own Copy button.

The input is forgiving. It reads HEX with 3, 4, 6 or 8 digits, with or without the hash. It also reads rgb() and rgba(), hsl() and hsla(), hwb(), plain triples such as 15 118 110, and CSS names such as tomato. A native colour picker sits beside the box if you would rather click.

Which format goes where

Use HEX in CSS, design handoff notes and brand guides, because it is compact and unambiguous. RGB suits tools that ask for three separate channel values, such as slides and some editors. HSL is the friendliest format to adjust by hand: hue is the position on the colour wheel, saturation is how vivid it is, and lightness is how light or dark. HSV or HSB is what many painting and design apps show.

HWB describes a colour as hue plus how much white and black is mixed in. It appears in newer CSS and is easier for some people to reason about than HSL. You will not need every row on every job, but having all of them means you can answer a colleague in whichever dialect they speak.

Tweaking lightness without changing the hue

Say the teal needs a lighter tint for a button hover and a darker shade for pressed. Type hsl(175, 77%, 36%) and the HEX row gives #15a297. Type hsl(175, 77%, 16%) and it gives #094843. The hue and saturation stayed the same and only lightness moved, which is the reason HSL is the recommended starting point for adjustments.

Do not stop at the look. Against a white background, the original #0f766e has a contrast ratio of about 5.5 to 1, the lighter #15a297 only 3.2 to 1, and the darker #094843 about 10.4 to 1. The lighter shade is fine for a large decorative area but fails the common 4.5 to 1 guideline for body text. Contrast Checker gives you those ratios directly.

Rounding: why HEX should stay the master

The HSL, HSV, HWB and CMYK rows are rounded to whole numbers. Convert back from a rounded value and you can land a step away. Type hsl(174, 77%, 26%), which looks almost identical to the teal, and the HEX row returns #0f756b, not #0f766e. The difference is invisible to the eye but it is a different colour, and two files that disagree by one digit are harder to debug than a visible mistake.

The rule that follows is simple: store the brand colour as HEX, derive the other formats from it when needed, and never convert a rounded value back to HEX and treat the result as the original.

CMYK is an estimate

The CMYK row is labelled a screen estimate, and that label is meant seriously. It is computed directly from the RGB numbers with a simple formula. Real printing depends on inks, paper and colour profiles, so a press may reproduce the teal differently from the swatch on your screen. Use the row as a rough guide when talking to the printer, not as a specification.

For a job where the colour must match, give the vendor the HEX value, ask for a printed proof, and compare it with the screen in good light. Many vendors have their own conversion and will tell you what they need.

Steps in the tool

  1. Enter or paste the colour into the single input, or use the picker beside it. If the colour cannot be read, the tool says so and suggests formats that work.
  2. Look at the swatch to confirm it is the colour you meant.
  3. Copy the row you need with its Copy button.
  4. To try a variation, edit the HSL value in the box and read the new HEX.
  5. Save the final HEX in your brand notes with its name, such as Brand Teal.

Transparency and short HEX

Colours with transparency are handled too. Entering #0f766e80, an 8-digit HEX with an alpha pair, produces rgba(15, 118, 110, 0.5) and hsla(175, 77%, 26%, 0.5), and the HEX row keeps the extra digits. The HSV, HWB and CMYK rows ignore the transparency.

A 3-digit HEX is expanded by doubling each digit: #0fe becomes #00ffee, which is a much brighter colour than many people expect. If a pasted colour looks wrong, check whether it was a short code. A bare name works as well: rebeccapurple returns #663399.

Common mistakes

Copying the RGB row into a field that expects HEX, or the reverse, produces an error or a black swatch in some tools; read the row label before you copy. Mixing percent and fractional notation is another trap. Treating the nearest CSS name as the brand colour is a third: the tool says teal for our colour, but it is only the closest name, not an exact match.

Last, remember that a screen and a printed page show colours differently. Check an important colour in the real medium before approving a big run.

Neighbouring tools

To build a full palette around the teal, use Color Palette. To blend it into a background, Gradient Generator produces the CSS. The design tools category lists more, and the guide to the contrast checker explains the ratios in depth. Conversion happens in your browser, and each valid colour you convert can count towards your daily trial uses.

Which format do you convert most often, and where does it go: code, slides or print? Tell us on the contact page.

Open HEX / RGB / HSL ConverterOpen Color Contrast CheckerOpen Color Palette GeneratorOpen Gradient Generator