ColorChannel: Extract color channel values

View source: R/z_colors.R

ColorChannelR Documentation

Extract color channel values

Description

Extract color channel values

Usage

ColorChannel(x, k)

Arguments

x

character vector of colors.

k

name of a color channel (e.g. "red", "green", "blue" and "alpha" for transparency). Abbreviated names are allowed (e.g. "r", "g", "b", "a").

Value

ColorChannel returns a numeric vector.

See Also

TransformColors


benja0x40/Barbouille documentation built on March 26, 2023, 11:38 p.m.