Skip to content

Design & Branding

RGB Colour Mode: what it means and how it works

By Creolume Team4 min read

In short

RGB is a colour model used for screens and digital displays. It creates colours by combining red, green and blue light in different intensities, and it is an additive model: mixing all three at full strength produces white.

What is RGB?

Every pixel on a phone, monitor or television contains tiny red, green and blue light sources. By adjusting how bright each one is, the screen can produce millions of colours. When all three are off, you see black. When all three are fully on, you see white.

This is called an additive colour model, because adding light increases brightness. It is the opposite of CMYK, which uses inks that absorb light.

How RGB values work

Each channel is given a value from 0 to 255 in the common 8-bit system. For example, rgb(255, 0, 0) is pure red, rgb(0, 0, 0) is black and rgb(255, 255, 255) is white. Mixing values creates other colours, such as rgb(255, 176, 34) for a warm amber.

With 256 levels per channel, the system can represent about 16.7 million colours.

RGB colour examples: 255, 0, 0 is red, 255, 176, 34 is amber and 255, 255, 255 is white
RGB mixes light from red, green and blue channels.

HEX codes

On the web, colours are often written in hexadecimal. A HEX code such as #FFB022 is just RGB values in base 16: FF for red, B0 for green and 22 for blue. HEX and RGB describe the same colours in different notation. CSS also supports HSL, which uses hue, saturation and lightness, and newer colour functions.

Colour spaces: sRGB and wide gamut

A colour space defines the range of colours RGB values can mean. sRGB is the standard for the web and most screens. Wider spaces such as Display P3 and Adobe RGB can show more saturated colours on supporting displays. For web design, sRGB remains the safe default, with wider gamut used carefully for supporting devices.

RGB vs CMYK

RGB is for light-emitting screens and has a wide range of bright colours. CMYK is for print and has a smaller gamut. When you convert a vivid RGB design to CMYK, some colours will look duller. Design in the colour mode of the final medium, and check conversions.

Comparison of RGB for screens with additive light and CMYK for print with subtractive ink
Use the colour model that suits the final medium.

Accessibility

Colours in RGB must be chosen with contrast in mind. WCAG sets contrast ratios between text and background colours, calculated from their luminance. Use contrast checkers, and do not rely on colour alone to convey meaning.

Using RGB in design and development

Define colours as variables or design tokens, in HEX or RGB, with opacity where needed. Keep a documented palette, use consistent colour profiles when exporting images and test on different screens, since displays vary in calibration and brightness.

Common mistakes

  • Sending RGB files to print without conversion
  • Using low-contrast colour pairs
  • Assuming all screens show the same colours
  • Exporting images with the wrong colour profile
  • Defining colours differently in design files and code

Choosing screen colours with accessibility in mind

When picking RGB or HEX values for interfaces, check text and background combinations with a contrast checker. Aim for at least 4.5 to 1 for body text and 3 to 1 for large text. Test colours in grayscale to be sure that meaning is not conveyed by colour alone, and define them once as design tokens.

  • Check contrast ratios
  • Aim for 4.5 to 1 for body text
  • Test in grayscale
  • Define colours as tokens

Key takeaways

  • RGB mixes red, green and blue light for screens
  • It is additive: all channels at full strength make white
  • Values range from 0 to 255, and HEX is the same data in base 16
  • sRGB is the web standard
  • Convert to CMYK for print, and check contrast for accessibility

How Creolume can help with RGB Colour Mode

We build custom websites with the right tech stack, clean integrations and an agile process. If RGB Colour Mode is on your list of priorities, our team can review where you stand, explain what matters for your site and your market, and agree a realistic plan.

You can explore our Custom Website Development service or contact us for a short, no-obligation conversation. We will tell you honestly what is worth doing first and what can wait.

RGB Colour Mode FAQs

What does RGB stand for?

Red, green and blue, the three colours of light used by screens.

What is a HEX colour code?

A way to write RGB values in base 16, such as #FFB022.

What is sRGB?

The standard RGB colour space for the web and most displays.

Why do RGB colours look different in print?

Print uses CMYK inks, which cannot reproduce all bright screen colours.

How many colours can RGB produce?

About 16.7 million in the common 8-bit system.

What contrast ratio should I use?

WCAG AA requires 4.5 to 1 for normal text and 3 to 1 for large text.

Not sure where to start?

Tell us about your site and your goals. We will reply with an honest view of what to fix first.