# Convert color of an image from rgb to cmyk

**URL:** <https://discourse.processing.org/t/convert-color-of-an-image-from-rgb-to-cmyk/2922>\
**Category:** Coding Questions\
**Created:** [August 24, 2018, 11:29am UTC](https://discourse.processing.org/t/convert-color-of-an-image-from-rgb-to-cmyk/2922 "2018-08-24T11:29:57Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [August 26, 2019, 10:24pm UTC](https://discourse.processing.org/t/convert-color-of-an-image-from-rgb-to-cmyk/2922/10 "2019-08-26T22:24:42Z")

</div>

For a related approach to separate C M Y K channels, see:

> [@Best way to do this: tint(C, M, Y, K)?](https://discourse.processing.org/t/best-way-to-do-this-tint-c-m-y-k/5317/11):
>
> I think @Jakub is right. The reference for all the blend modes: [blendMode()](https://processing.org/reference/blendMode_.html) or maybe [blend()](https://processing.org/reference/blend_.html). You can use SUBSTRACT or MULTIPLY and try another ones. They are similar to [Photoshop blending modes](https://helpx.adobe.com/photoshop/using/blending-modes.html). Mathematically, RGB converts directly to CMY, with no need of Black (K). Theoretically, the mix of C+M+Y should result in black. We only use Black on printing because inks are not perfect, so black ink gets better results for contrast and other details. So, when you add black ink, you need to do the m…

---

_[View the full topic](https://discourse.processing.org/t/convert-color-of-an-image-from-rgb-to-cmyk/2922)._
