ColorChannel-set: Replace color channel values

ColorChannel<-R Documentation

Replace color channel values

Description

Replace color channel values

Usage

ColorChannel(x, k) <- value

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

numeric values between 0 and 1.

Value

ColorChannel returns a character vector of RGBA colors in hexadecimal.

See Also

TransformColors


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