getHex: Internal function for color conversion

View source: R/getHex.R

getHexR Documentation

Internal function for color conversion

Description

Converts different color values to hexadecimal colors. Used by styleSingle, styleGrad and styleCat.

Usage

getHex(col)

Arguments

col

Color value as number, name or hex code with alpha.

Value

Hexadecimal color value as string.

Author(s)

Christian Graul

See Also

styleSingle, styleGrad, styleCat


chgrl/leafletR documentation built on March 24, 2022, 7:53 a.m.