Learn R Programming

leafletR (version 0.4-0)

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

See Also

styleSingle, styleGrad, styleCat