leaflet (version 1.0.0)

previewColors: Color previewing utility

Description

Color previewing utility

Usage

previewColors(pal, values)

Arguments

pal
A color mapping function, like those returned from colorNumeric, et al
values
A set of values to preview colors for

Value

  • An HTML-based list of the colors and values