Skip to contents

Discrete lab color scale

Usage

scale_color_lab(
  palette = "main",
  reverse = FALSE,
  alpha = 1,
  na.value = "#BFBFBF",
  guide = ggplot2::guide_legend(),
  ...
)

Arguments

palette

Palette name.

reverse

Whether to reverse the palette.

alpha

Opacity multiplier between 0 and 1.

na.value

Fallback color for missing values.

guide

Legend guide. Use "none" to suppress the guide.

...

Passed to ggplot2::discrete_scale().

Value

A ggplot scale.