DescTools (version 0.99.54)

RgbToCmy: Conversion Between RGB and CMYK

Description

These function convert colors between RGB and CMYK system.

Usage

RgbToCmy(col, maxColorValue = 1)
CmykToRgb(cyan, magenta, yellow, black, maxColorValue=1)
CmyToCmyk(col)
CmykToCmy(col)

Value

the converted value

Arguments

col

the matrix of the color to be converted

cyan

cyan values of the color(s) to be converted

magenta

magenta values of the color(s) to be converted

yellow

yellow values of the color(s) to be converted

black

black values of the color(s) to be converted

maxColorValue

the value for the color

Author

Andri Signorell <andri@signorell.net>

See Also

RgbToCol

Examples

Run this code
CmykToRgb(0.42, 45.23, 85.14, maxColorValue=100)

Run the code above in your browser using DataLab