col2hex: Convert R color to hexadecimal code

View source: R/col2hex.R

col2hexR Documentation

Convert R color to hexadecimal code

Description

Convert a color that R understands into the corresponding hexadecimal code

Usage

col2hex(color)

Arguments

color

Color(s) that R understands

Author(s)

E.D. Gennatas

Examples

col2hex(c("gray50", "skyblue"))

egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.