Tithi Mondal

Guide5 min readUpdated

HEX RGB CMYK Difference: Colour Codes Explained

HEX RGB CMYK difference in plain words: which colour code to use for screen and print, and why your brand colour looks different on paper.

By Tithi Mondal, UI/UX Designer

Read inहिन्दीবাংলাमराठीதமிழ்తెలుగుગુજરાતી

HEX RGB CMYK Difference: Colour Codes Explained: cover illustration

You print 500 visiting cards. The blue on your screen was bright and clear, but the cards arrive darker and slightly dull. You blame the printer, but the printer did nothing wrong. Screens and paper make colour in two different ways. This guide explains the codes you will meet and which one to use where.

A colour code is a short set of letters or numbers that tells a computer or a printer exactly which colour to make, so the same brand colour can be repeated everywhere.

What is the difference between HEX, RGB and CMYK?

HEX and RGB describe colours made of light, for screens. CMYK describes colours made of ink, for printing. The three are different ways to write down a colour for different machines.

CodeFull formMade byUsed for
HEXHexadecimalRed, green and blue lightWebsites, apps
RGBRed, green, blueRed, green and blue lightScreens, social media, video
CMYKCyan, magenta, yellow, key (black)Ink on paperPrinting

HEX and RGB are the same thing in two spellings. Both say how much red, green and blue light to mix. If you know one, you can convert to the other.

What is a HEX code?

A HEX code is a hash sign followed by six letters and numbers, such as #1A73E8. The first two characters set the red, the next two the green and the last two the blue.

Each pair goes from 00 (none of that colour) to FF (the most). So #000000 is black, and #FFFFFF is white. You do not need to calculate anything. You only need to copy the code exactly, including every character.

Web developers use HEX codes in the style sheets of websites, and designers use them in Figma and other design tools. When your developer asks "what is the brand colour", the HEX code is the answer they want.

What is an RGB value?

An RGB value is three numbers, each from 0 to 255, for the amount of red, green and blue light. For example, 26, 115, 232 describes the same blue as the HEX code above.

A screen is made of tiny dots, and each dot can glow red, green or blue. When all three glow fully, you see white. When none glow, you see black. This is called an additive system, because light adds up.

Use RGB for presentations, social media posts, WhatsApp images and video. Most design tools show both RGB and HEX, so you can pick whichever the other person asks for.

What is CMYK and when do I need it?

CMYK is the system printers use, mixing cyan, magenta, yellow and black ink in small dots. You need CMYK values whenever a design goes to a printing press, such as visiting cards, brochures, packaging and flex banners.

The letter K stands for "key", which means the black plate. This is a subtractive system: ink on white paper absorbs light, so each added ink makes the colour darker.

A printer often converts files from RGB to CMYK for you, but it is safer if your designer prepares the print file in CMYK from the start. Then you can approve what will really be printed. The guides on business card and letterhead design and packaging and label design show where this matters.

Why does print colour look different from the screen?

Print looks different because a screen makes its own light, and paper only reflects light. A lit screen can show very bright blues, greens and oranges that ink cannot reproduce.

Several other things change the result:

  • Paper. Glossy paper keeps colour brighter. Uncoated paper makes it softer and darker.
  • Screen settings. Brightness, night mode and the quality of the display change what you see. Your phone and your laptop may show the same file differently.
  • Printer and ink. Two printers can give slightly different results from the same file.
  • Colour conversion. Some very bright RGB colours do not exist in CMYK, so they shift when converted. Bright neon greens and electric blues are common examples.

Ask for a printed proof for any large print run. A proof is a sample printed before the full batch. It costs little compared with reprinting 500 cards.

How do I choose brand colour codes?

Pick one main colour and write down its HEX, RGB and CMYK values once, then use only those values everywhere. This keeps your brand looking the same on a website, a visiting card and a signboard.

A simple brand colour sheet has:

  1. The main colour, with HEX, RGB and CMYK
  2. One or two supporting colours
  3. A dark colour for text, usually a soft black
  4. A light colour for backgrounds

Your designer should give you this sheet at the end of a logo or branding project. It is part of the brand guidelines, which you can read about in what are brand guidelines. On my logo work, guidelines are included in the price along with the vector files.

If you want to know what colours mean to customers, read colour psychology in branding. Contrast also matters for people with weaker eyesight, which is covered in accessibility in app and web design.

What are spot colour systems?

Spot colour systems are standard colour libraries where each colour is a specific premixed ink with its own number. A printer can match the exact shade without mixing from cyan, magenta, yellow and black.

They are useful when a brand colour must be exactly the same on every print, for example on packaging for a product sold across the country. They usually cost more to print than CMYK, so many small businesses use CMYK and accept a small difference. If your colour is critical, ask your printer whether a spot colour is possible.

How do I check that a colour is correct?

Compare the code, not the picture. If your designer says the blue is #1A73E8, check that your website uses exactly that value, and ask the printer to match the CMYK value from the brand sheet.

Keep a note on your phone with the brand codes. Whenever a new person, such as a developer, a printer or a social media helper, asks for your colours, send the same codes. This habit alone prevents most colour mismatch problems.

If you are building a brand and want one set of colour codes that works on screen and in print, you can see my logo design service or write to me through the contact section.

Frequently asked questions

Can I use the same colour code for my website and my visiting card?

Use the HEX or RGB code for the website and the CMYK code for the card. They aim for the same colour, but print will usually look a little softer than the screen.

How do I find the HEX code of my current logo colour?

Ask the person who made the logo, or open the logo file in a design tool and use the colour picker. If you only have a low quality image, a designer can pick the closest match and rebuild the logo properly.

Why does my phone show a different colour from my laptop?

Each screen has its own brightness, settings and display quality. Colour codes stay the same, but the screens show them slightly differently.

Do I need Pantone for my brand?

Most small businesses do not. CMYK is enough for cards, brochures and banners. Consider a spot colour only when exact colour matching on packaging is important.

Working on something like this?

Tell Tithi what you are planning. You get a clear scope, a fixed price and a timeline before any work begins. I reply to every enquiry within 24 hours.

Your details go only to Tithi and are used only to reply to you. No newsletters, no sharing.

Have a product in mind? Let us design it properly.

Tell me what you are building. I will reply with questions, a rough timeline and a quote.