Skip to content

R package for the penumbra color palette

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

hughjonesd/penumbra

Repository files navigation

penumbra

This is an R package based on Neal McKee’s penumbra color palette.

From the original:

Penumbra is a mathematically balanced colour scheme constructed in a perceptually uniform colour space with base colours inspired by the shades of colour occuring in nature due to the light of the sun and the sky. It cleanly separates the perceptual properties of colours while optimally utilising the available colour space of typical displays.

The accent colour palettes also lend themselves to encoding quantitative information in data visualisations.

Installation

You can install the development version of penumbra like so:

remotes::install_github("hughjonesd/penumbra")

Example

library(penumbra)

par(bg = penumbra::base_pal(n = 3)[3])
palette(penumbra::color_pal(n = 7))
plot(1:7, pch = 19, cex = 5, col = 1:7)

Note

These palettes are not suitable for people with colourblindness. So, only use them for your own exploratory work, not for producing display graphics that other people have to see.

About

R package for the penumbra color palette

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages