convertgrey: Convert R colors to greyscale

Description Usage Arguments Value Author(s) See Also Examples

View source: R/LSD.color.r

Description

Greyscale R built-in colors.

Usage

1
convertgrey(cols, alpha = NULL)

Arguments

cols

a character vector containing R built-in colors.

alpha

alpha value: a two-digit integer between 01 and 99 for color opacity, i.e. appearance of partial or full transparency (usage omitted by default).

Value

convertgrey returns a vector containing R built-in colors in hexadecimal representation.

Author(s)

Bjoern Schwalb

See Also

disco, colorpalette, demotour

Examples

1
convertgrey(c("red","green","blue"))

LSD documentation built on July 2, 2020, 4:14 a.m.

Related to convertgrey in LSD...