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

palette_explorer

Explore color palettes


Description

palette_explorer() starts an interactive tool shows all Color Brewer and viridis palettes, where the number of colors can be adjusted as well as the constrast range. Categorical (qualitative) palettes can be stretched when the number of colors exceeds the number of palette colors. Output code needed to get the desired color values is generated. Finally, all colors can be tested for color blindness. The data.frame tmap.pal.info is similar to brewer.pal.info, but extended with the color palettes from viridis.

Usage

palette_explorer()

tmap.pal.info

Format

An object of class data.frame with 40 rows and 4 columns.

References

See Also

Examples

## Not run: 
if (require(shiny) && require(shinyjs)) {
    palette_explorer()
}

## End(Not run)

tmaptools

Thematic Map Tools

v3.1-1
GPL-3
Authors
Martijn Tennekes [aut, cre]
Initial release
2021-01-19

We don't support your browser anymore

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