as.hexcol: Numeric to hex colour converter

Description Usage Arguments Value Examples

View source: R/v1-hexcol.R

Description

Convert numbers and R colour strings into corresponding hex codes for colours

Usage

1

Arguments

x

the colour value(s) to be converted to hex values.

Value

hex codes for colours

Examples

1
2
as.hexcol(c(1, 2, 3))
as.hexcol(c("red", "black", "green"))

Glimma documentation built on Nov. 8, 2020, 6:13 p.m.