Skip to contents

See pal_sequential for details.

Usage

scale_colour_sequential(
  ...,
  alpha = 1,
  reverse = TRUE,
  discrete = FALSE,
  palette = c("blues", "dark_blues", "blue_grey", "blue_green_yellow")
)

scale_fill_sequential(
  ...,
  alpha = 1,
  reverse = TRUE,
  discrete = FALSE,
  palette = c("blues", "dark_blues", "blue_grey", "blue_green_yellow")
)

scale_color_sequential(
  ...,
  alpha = 1,
  reverse = TRUE,
  discrete = FALSE,
  palette = c("blues", "dark_blues", "blue_grey", "blue_green_yellow")
)

Arguments

...

additional parameters for discrete_scale

alpha

Transparency level, a real number in (0, 1]. See alpha in rgb for details.

reverse

The default, FALSE, generates the colour palette as defined, while TRUE generates the colour palette in reverse order.

discrete

data Whether data the palette is being applied to is discrete or continuous.

palette

Currently there are four sequential colour palettes available: "blues" (a 9-colour single-hue NHS Blue palette), "dark_blues" (a 9-colour single-hue SCW Dark Blue palette), "blue_grey" (a 9-colour multi-hue palette that uses SCW Dark Blue and NHS Pale Grey), and "blue_green_yellow" (a 9-colour multi-hue palette that is generated using NHS Blue, NHS Aqua Green, and NHS Warm Yellow).