dichromat_pal

0th

Percentile

Dichromat (colour-blind) palette (discrete).

Dichromat (colour-blind) palette (discrete).

Usage
dichromat_pal(name)
Arguments
name
Name of colour palette. One of: BrowntoBlue.10, BrowntoBlue.12, BluetoDarkOrange.12, BluetoDarkOrange.18, DarkRedtoBlue.12, DarkRedtoBlue.18, BluetoGreen.14, BluetoGray.8, BluetoOrangeRed.14, BluetoOrange.10, BluetoOrange.12, BluetoOrange.8, LightBluetoDarkBlue.10, LightBluetoDarkBlue.7, Categorical.12, GreentoMagenta.16, SteppedSequential.5
Aliases
  • dichromat_pal
Examples
show_col(dichromat_pal("BluetoOrange.10")(10))
show_col(dichromat_pal("BluetoOrange.10")(5))

# Can use with gradient_n to create a continous gradient
cols <- dichromat_pal("DarkRedtoBlue.12")(12)
show_col(gradient_n_pal(cols)(seq(0, 1, length.out = 30)))
Documentation reproduced from package scales, version 0.4.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.