clr2hex: Convert color to hexadecimal format

View source: R/utils.R

clr2hexR Documentation

Convert color to hexadecimal format

Description

Convert color to hexadecimal format

Usage

clr2hex(color, alpha = 1)

Arguments

color

character, color name (seel colors() for recognized values)

alpha

numeric, opacity in interval 0–1, where 1 is no transparency, i.e. full opacity

Value

character, color in hexadecimal format


scholaempirica/reschola documentation built on May 14, 2022, 8:38 a.m.