RgbToCmy: Conversion Between RGB and CMYK

View source: R/DescTools.r

RgbToCmyR 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

RgbToCol

Examples

CmykToRgb(0.42, 45.23, 85.14, maxColorValue=100)

DescTools documentation built on Sept. 26, 2024, 1:07 a.m.