Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pal.channels

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


Description

The amount of red, green, blue, and gray in colors are shown.

Usage

pal.channels(pal, n = 150, main = "")

Arguments

pal

A palette function or a vector of colors.

n

The number of colors to display for palette functions.

main

Main title.

Details

What to look for:

1. Sequential data should usually be shown with a colormap that is smoothly increasing in lightness, as shown by the gray line.

Value

None

Author(s)

Kevin Wright

References

None

Examples

pal.channels(parula)
pal.channels(coolwarm)
# pal.channels(glasbey) # Nonsensical.

pals

Color Palettes, Colormaps, and Tools to Evaluate Them

v1.7
GPL-3
Authors
Kevin Wright [aut, cre] (<https://orcid.org/0000-0002-0617-8673>)
Initial release
2021-04-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.