Learn R Programming

dataquieR (version 2.1.0)

util_col2rgb: Return hex code colors from color names or STATAReporter syntax

Description

Return hex code colors from color names or STATAReporter syntax

Usage

util_col2rgb(colors)

Value

character vector with colors using HTML hexadecimal encoding, e..g, "#ff0000" for "red"

Arguments

colors

the colors, e.g.,"255 0 0" or "red" or "#ff0000"