Javatpoint Logo
Javatpoint Logo

Introduction to Color Spaces

Color spaces are the mathematical representation of a set of colors. There are many color models. Some of them are RGB, CMYK, YIQ, HSV, and HLS, etc. These color spaces are directly related to saturation and brightness. All of these color spaces can be derived using RGB information using devices such as cameras and scanners.

RGB Color Space

RGB stands for Red, Green, and Blue. This color space is widely used in computer graphics. RGB are the main colors from which many colors can be made.

RGB can be represented in the 3-dimensional form:

Introduction to Color Spaces

Below table is 100% RGB color bar contains values for 100% amplitude, 100% saturated, and for video test signal.

Introduction to Color Spaces

CMYK Color Model

CMYK stands for Cyan, Magenta, Yellow and Black. CMYK color model is used in electrostatic and ink-jet plotters which deposits the pigmentation on paper. In these model, specified color is subtracted from the white light rather than adding blackness. It follows the Cartesian coordinate system and its subset is a unit cube.

Introduction to Color Spaces

HSV Color Model

HSV stands for Hue, Saturation, and Value (brightness). It is a hexcone subset of the cylindrical coordinate system. The human eye can see 128 different hues, 130 different saturations and number values between 16 (blue) and 23 (yellow).

Introduction to Color Spaces

HLS Color Model

HLS stands for Hue Light Saturation. It is a double hexcone subset. The maximum saturation of hue is S= 1 and L= 0.5. It is conceptually easy for people who want to view white as a point.

Introduction to Color Spaces

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA