Rdocumentation
powered by
Learn R Programming
leafletR (version 0.1-2)
getHex: 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.
encoding
UTF-8
See Also
styleSingle
,
styleGrad
,
styleCat