cmyk: CMYK color converter

View source: R/cmyk.R

cmykR Documentation

CMYK color converter

Description

Converts CMYK color values to hexadecimal color values

Usage

cmyk(C, M, Y, K)

Arguments

C

Value in the 0-100 range for the Cyan component.

M

Value in the 0-100 range for the Magenta component.

Y

Value in the 0-100 range for the Yellow component.

K

Value in the 0-100 range for the Key component.

Value

The result is a string for the color in hexadecimal scale, eg. "#FFFFFF".

Examples

color = cmyk(0, 0, 0, 0)


sebastian-gregoricchio/Rseb documentation built on May 15, 2024, 5:45 a.m.