Learn R Programming

pals (version 1.10)

Color Palettes, Colormaps, and Tools to Evaluate Them

Description

A comprehensive collection of color palettes, colormaps, and tools to evaluate them. See Kovesi (2015) .

Copy Link

Version

Install

install.packages('pals')

Monthly Downloads

7,778

Version

1.10

License

MIT + file LICENSE

Maintainer

Kevin Wright

Last Published

March 7th, 2025

Functions in pals (1.10)

pal.heatmap

Show a palette/colormap with a random heatmap
pal.compress

Compress a colormap function to fewer colors
pal.dist

Measure the pointwise distance between two palettes
pal.csf

Show a colormap with a Campbell-Robson Contrast Sensitivity Chart
pal.cluster

Show a palette with hierarchical clustering
pal.cube

Show one palette/colormap in three dimensional RGB or LUV space
pal.heatmap2

Show palettes/colormaps with comparison heatmaps
pal.zcurve

Show a colormap with a space-filling z-curve
pal.test

Show a colormap with multiple images
pal.map

Show a palette using a map of U.S. counties
pal.volcano

Show a colormap with a surface of volcano elevation
pals

pals: A package for comprehensive palettes and palette evaluation tools
pals.maxcolors

Pals max colors
penobscot

Seismic data horizon offshore of Nova Scotia.
pal.maxdist

Measure the maximum distance between two palettes
pal.safe

Show a palette/colormap for black/white and colorblind safety
pal.sineramp

Show a colormap with a sineramp
pal.scatter

Show a colormap with a scatterplot
bivariate

Bivariate palettes
pal.channels

Show the red, green, blue, gray amount in colors of a palette
continuous

Miscellaneous colormaps
matplotlib

Matplotlib colormaps
niccoli

Matteo Niccoli's perceptually uniform colormaps
brewer

ColorBrewer palettes
ocean

Oceanography perceptually uniform colormaps
pal.bands

Show palettes and colormaps as colored bands
kovesi

Peter Kovesi's perceptually uniform colormaps
discrete

Discrete palettes