col2hex: col2hex

Description Usage Arguments Value Author(s) References Examples

View source: R/col2hex.R

Description

Convert a color's character string to its hexadecimal code.

Usage

1
col2hex(color, alpha = 255, maxValue = 255)

Arguments

color

- character

Value

none

Author(s)

Tyler W Bradshaw, twesleyb10@gmail.com

References

none

Examples

1
col2hex('red')

twesleyb/miscR documentation built on July 8, 2021, 6:21 p.m.