RGB2CMY: Convert sRGB coordinates to CMY

Description Usage Arguments Value Author(s) Source References Examples

View source: R/colorscience.R

Description

RGB2CMY Converts sRGB coordinates to CMY.

Usage

1
RGB2CMY(RGBmatrix)

Arguments

RGBmatrix

sRGB coordinates

Value

CMY coordinates

Author(s)

Jose Gama

Source

Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/

References

Logicol S.r.l., 2014 EasyRGB color search engine http://www.easyrgb.com/

Examples

1
RGB2CMY(c(0.310897, 0.306510, 74.613450))

Example output

Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package: 'Hmisc'

The following objects are masked from 'package:base':

    format.pval, round.POSIXt, trunc.POSIXt, units

Loading required package: munsellinterpol
Loading required package: geometry
Loading required package: magic
Loading required package: abind
Loading required package: pracma

Attaching package: 'pracma'

The following object is masked from 'package:munsellinterpol':

    hypot

The following objects are masked from 'package:geometry':

    dot, polyarea

The following object is masked from 'package:magic':

    magic

The following object is masked from 'package:Hmisc':

    ceil

Loading required package: sp

Attaching package: 'colorscience'

The following objects are masked from 'package:munsellinterpol':

    XYZ2xyY, xyY2XYZ

             C        M         Y
[1,] 0.9987808 0.998798 0.7073982

colorscience documentation built on Oct. 30, 2019, 9:33 a.m.