powered by
Sequential colour gradient palette (continuous)
pal_seq_gradient(low = mnsl("10B 4/6"), high = mnsl("10R 4/6"), space = "Lab")seq_gradient_pal(low = mnsl("10B 4/6"), high = mnsl("10R 4/6"), space = "Lab")
seq_gradient_pal(low = mnsl("10B 4/6"), high = mnsl("10R 4/6"), space = "Lab")
colour for low end of gradient.
colour for high end of gradient.
colour space in which to calculate gradient. Must be "Lab" - other values are deprecated.
x <- seq(0, 1, length.out = 25) show_col(pal_seq_gradient()(x)) show_col(pal_seq_gradient("white", "black")(x)) library(munsell) show_col(pal_seq_gradient("white", mnsl("10R 4/6"))(x))
Run the code above in your browser using DataLab