RGB/HSL/CYMK Conversion

January 2017

There are various ways to categorize colors. The term color space is commonly used.

RGB (Red, Green, and Blue) is considered to be the native computer color space and is used for displaying images on screen. CYMK (Cyan, Magenta Yellow, and Black) color space is able to print all colors; it is mostly used for commercial printing and used by most computer printers.HSL (Hue, Saturation, Lightness) and HSV (Hue, Saturation, Value) are two concepts based on the light and intensity factors; used for the representation of points in a RGB colors space and providing a better color relationship than RGB.

Here below is a link providing algorithms for these color conversion:


Published by jak58. Latest update on August 26, 2010 at 08:07 AM by jak58.
This document, titled "RGB/HSL/CYMK Conversion," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).