Skip to content

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