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, tyler.w.bradshaw@duke.edu

References

none

Examples

1
col2hex('red', 204)

twesleyb/Uezu2016 documentation built on Jan. 28, 2021, 3:56 p.m.