col.text.2.hex: col.text.2.hex

View source: R/muMakeTrans.R

col.text.2.hexR Documentation

col.text.2.hex

Description

convert a color from a text string to a hex string (only works with scalars, not on vectors)

Usage

col.text.2.hex(ss, alpha = 255)

Arguments

ss

color string to be transformed

alpha

maximum alpha

Value

a string containing the hex code of the color

Examples

col.text.2.hex("dark blue")

demuellae/muRtools documentation built on Sept. 8, 2023, 4:32 p.m.