hex_to_cspace: Convert hex code to color space

Description Usage Arguments See Also

View source: R/hex_to_cspace.R

Description

Converts hexadecimal color specifications to different color-space representations, where columns represent different responses/colors, and each row represents one color axis (e.g. R-G-B)

Usage

1
hex_to_cspace(hexcobj, fmt = "sRGB")

Arguments

hexcobj

a data frame (single row) or character vector with hexadecimal color values

fmt

specifies color axes/output format ("sRGB", "Luv", "Lab"). note that output sRGB values are on the scale 0-1

See Also

col2rgb convertColor


AnonZebra/synratss documentation built on Oct. 9, 2021, 2:31 a.m.