seq_gradient_pal

0th

Percentile

Sequential colour gradient palette (continous).

Sequential colour gradient palette (continous).

Usage
seq_gradient_pal(low = mnsl("10B 4/6"), high = mnsl("10R 4/6"), space = "Lab")
Arguments
low
colour for low end of gradient.
high
colour for high end of gradient.
space
colour space in which to calculate gradient. Must be "Lab" - other values are deprecated.
Aliases
  • seq_gradient_pal
Examples
library(scales) x <- seq(0, 1, length.out = 25) show_col(seq_gradient_pal()(x)) show_col(seq_gradient_pal("white", "black")(x)) library(munsell) show_col(seq_gradient_pal("white", mnsl("10R 4/6"))(x))
Documentation reproduced from package scales, version 0.4.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.