RgbToCmy {DescTools} | R Documentation |
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)
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 |
Value
the converted value
Author(s)
Andri Signorell <andri@signorell.net>
See Also
Examples
CmykToRgb(0.42, 45.23, 85.14, maxColorValue=100)
[Package DescTools version 0.99.55 Index]