get_paint: Gets YMCK specifications (paint composition) from a "color"...

Description Usage Arguments Value Examples

Description

Gets YMCK specifications (paint composition) from a "color" object

Usage

1
get_paint(col, maxVal = 255)

Arguments

col

Color whose complementary is to be calculated. Hexcode, c(r,g,b), color name as character and "color" class object are all supported.

Value

A vector containing col's YMCK (paint) specifications.

Examples

1
2
get_paint("green")
get_paint(c(255,0,255))

dpcarballo/coloR documentation built on June 1, 2019, 8:14 p.m.