Package 'spectralscale'

Title: A consistent set of Spectral-based palettes and scales
Description: This package provides a consistent set of palettes, all based on the ColorBrewer Spectral palette, as approximated in hcl space by the recent colorspace package. The different palettes and corresponding ggplot2 scales should be able to handle most use cases for continuous and discrete scales, including sequential, diverging and qualitative palettes, with single or double hue gradients. Moreover, they all have been checked with respect to the different types of CVD, and should behave reasonably well for most people.
Authors: Bart Rogiers [cre, aut]
Maintainer: Bart Rogiers <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2025-03-22 04:29:24 UTC
Source: https://github.com/rogiersbart/spectralscale

Help Index


Palette UI

Description

Palette UI

Usage

palette_c(n, type = "warm", ...)

palette_d(n, type = "div", ...)

Arguments

n

Describe n.

type

Describe type.

...

Describe dots.


Scale UI

Description

A more traditional UI is available through internal functions if this would make more sense to you.

Usage

fill_c(type = "warm", ...)

colour_c(type = "warm", ...)

color_c(type = "warm", ...)

fill_b(type = "warm", ...)

colour_b(type = "warm", ...)

color_b(type = "warm", ...)

fill_d(type = "qual", ...)

colour_d(type = "div", ...)

color_d(type = "div", ...)

Arguments

type

Describe type.

...

Describe dots.