---
title: "CMYK vs. RGB: Which to Use for Print - CE.SDK Glossary"
description: "RGB mixes light for screens and CMYK mixes ink for print, so bright screen colors can print duller. Compare them, see which to use, and how CE.SDK handles both."
url: "https://img.ly/glossary/cmyk-vs-rgb/"
type: "page"
---

> This is the markdown version of [CMYK vs. RGB: Which to Use for Print - CE.SDK Glossary](https://img.ly/glossary/cmyk-vs-rgb/). For all pages in one file, see [llms-full.txt](https://img.ly/llms-full.txt). For an index of all available pages, see [llms.txt](https://img.ly/llms.txt).

---

# CMYK vs. RGB

## What Is the Difference Between CMYK and RGB?

RGB builds color from red, green, and blue light, which is how screens work. [CMYK](https://img.ly/glossary/cmyk.md) builds it from cyan, magenta, yellow, and black ink, which is how most printing works. Screens can show brighter colors than ink can print, so a design that glows on a monitor can come out duller on paper.

CE.SDK works with both. A design can use RGB and CMYK colors side by side, and the editor previews CMYK colors through a print profile, so users see a closer match to the printed result.

## CMYK vs. RGB: How Do They Compare?

The two models mix color in opposite ways, which is why they suit different outputs.

- **Made from**: RGB: Red, green, and blue light, CMYK: Four inks: C, M, Y, and K

- **How it mixes**: RGB: More light, brighter color, CMYK: More ink, darker color

- **Range of colors**: RGB: Wider, including neons, CMYK: Narrower

- **Made for**: RGB: Screens, web, and video, CMYK: Printing

## Why Do Colors Look Different When Printed?

RGB covers a wider range of colors than CMYK. When a file is converted for print, colors outside the CMYK range shift to a color the inks can make, and the brightest ones change the most.

### Bright blues

Vivid screen blues often drift toward purple once they're converted to ink.

### Neon greens

Glowing greens have no ink equivalent and print noticeably muddier.

### Saturated reds

Strong reds lose some of their punch and can turn warmer.

## CMYK or RGB: Which Should You Use?

Match the color mode to where the design ends up. For one brand color that has to match exactly, a [PMS color](https://img.ly/glossary/pms-color.md) printed as its own ink is a third option. Check the print shop's file guidelines too, because some shops convert RGB files themselves and a few prefer them.

### Use RGB for

- **Websites, apps, and social posts**

- **Video and on-screen presentations**

- **Large-format and print-on-demand shops that ask for it**

### Use CMYK for

- **Offset and commercial print jobs**

- **Files a print shop wants in CMYK**

- **Brand colors given as CMYK values**

## How Do You Convert RGB to CMYK?

Convert with the print shop's color profile, check the result on screen, and fix the colors that moved before the file goes out.

### 1: Get the shop's profile

Ask the print shop which ICC profile its press uses, or pick from the [common standard profiles](https://img.ly/glossary/icc-profile.md) for its region and paper. A conversion with that profile predicts the printed colors more closely than a generic one.

### 2: Convert and soft-proof

Convert the file, then preview it on screen the way it will print. Design tools call this a soft proof.

### 3: Fix the colors that moved

Bright blues, greens, and reds shift the most. Adjust them by hand until they look right in the proof.

### 4: Keep the RGB original

Colors lost in the conversion don't come back when you convert again, so screen versions should start from the RGB file.

## Which File Formats Support CMYK?

Screen formats such as PNG store only RGB, so a print file that needs CMYK goes out as a TIFF or as a [print-ready PDF](https://img.ly/glossary/print-ready-pdf-checklist.md).

- **JPEG**: Color mode: Usually RGB, Used for: Photos for screens

- **PNG**: Color mode: RGB only, Used for: Screen graphics with transparency

- **TIFF**: Color mode: RGB or CMYK, Used for: High-resolution print images

- **PDF**: Color mode: RGB, CMYK, or both, Used for: Files for the print shop

## How to Handle CMYK and RGB in CE.SDK

### Step 01: Pick colors in either mode

Fills, strokes, and shadows take RGB, CMYK, or spot colors, CMYK works in gradients too, and one design can mix them.

### Step 02: Preview with the printer's profile

CMYK colors are shown through an ICC profile, and the default one models a US press. That's also why [rich black](https://img.ly/glossary/rich-black.md) previews darker than plain black. Set the document's profile to the one your printer supplies, for example for European coated paper.

### Step 03: Convert colors in code

Colors convert between RGB and CMYK in code. A round trip may not land on the same values, since each model has colors the other can't show.

### Step 04: Export for screen or print

PNG, JPEG, and WebP exports are RGB, and any CMYK colors in them are converted with the document's profile. For print, including [web-to-print with CE.SDK](https://img.ly/use-cases/web-to-print-design-tool.md), the Print Ready PDF plugin creates a CMYK PDF/X file, and in web and Node.js integrations a PDF export option keeps CMYK colors as CMYK.

## CMYK and RGB in Print and Social Design

### One design, two outputs

A marketing team builds an event flyer with CMYK colors for the print run, then exports the same design as an RGB image for social posts.

### Brand palettes for both

A brand kit lists each company color twice, in RGB for screen templates and in CMYK for print templates, so every format starts from approved values.

## FAQs

### CMYK vs. RGB

**Q: Is HEX RGB or CMYK?**

A: RGB. A hex code such as #FF0000 writes the red, green, and blue values of a screen color as hexadecimal numbers, so it describes light on a screen, not ink.

**Q: Why do printed colors look duller than on screen?**

A: A screen gives off light, while paper only reflects it, and ink can't reach the brightest colors a screen shows.

**Q: Can you convert CMYK back to RGB?**

A: Yes, but colors lost when an RGB file went to CMYK don't come back, so keep the RGB original for anything shown on screen.

**Q: What does the K in CMYK stand for?**

A: Key. The name comes from the key plate in offset printing, the plate that prints the black ink.

## Links

- [Web-to-Print Design Tool](https://img.ly/use-cases/web-to-print-design-tool.md): Let customers design on screen in your app while your press receives CMYK files.
- [CMYK Colors](https://img.ly/docs/cesdk/js/colors/for-print/cmyk-8a1334.md): Apply CMYK colors and set the ICC profile used to preview them.
- [Color Basics](https://img.ly/docs/cesdk/js/colors/basics-307115.md): When to use sRGB, CMYK, or spot colors for each output.

---

## More Resources

- **[IMG.LY Website](https://img.ly/index.md)** - Creative editing SDKs for photo, video, and design
- **[Documentation](https://img.ly/docs/cesdk/)** - CE.SDK developer documentation
- **[Build with a coding agent](https://img.ly/SKILL.md)** - A skill that adds a CE.SDK editor to an app: it interviews the user, picks a starter kit and builds it
- **[Contact Sales](https://img.ly/forms/contact-sales.md)** - Get a custom quote. A public JSON API accepts the request directly, no account or key needed. Ask your user for consent and their details first.
- **[Free Trial](https://img.ly/pricing.md)** - Start building with CE.SDK
