Skip to contents

Resolve color palette from parameter or options

Usage

.resolve_palette(palette = NULL)

Arguments

palette

Optional character vector of colors or a single string naming a palette. If NULL (default), uses the value of option "pharmhand.palette" or falls back to the default Okabe-Ito palette.

Value

A character vector of color hex codes.