scale_color_gradient_hda.Rd
HDA-branded 4-color continuous color scale
scale_color_gradient_hda(
...,
colors = c("#445ca9", "#8baeaa", "#e9ab3f", "#e76f52"),
values = NULL,
space = "Lab",
na.value = "#cfcfd0",
guide = "colorbar"
)
Other arguments passed on to continuous_scale()
Vector of colors
If colors should not be evenly positioned along the gradient, this vector gives the position (between 0 and 1) for each color in the vector
Color space in which to calculate gradient. Must be "Lab" - other values depreciated
Default color for NA values (#cfcfd0, HDA Light Gray)
Legend representation for scale