Skip to contents

The palette is based on the colours for Unifrog tools as shown in the tool.tool_hex on Azure.

Usage

palette_unifrog(palette = "unifrog_main", reverse = FALSE, ...)

Arguments

palette

Character name of palette. Depending on the color scale, can be `"main"` (default, discrete), or `"likert3"`, `"likert5"`, `"likert7"` for diverging scales.

reverse

Boolean indicating whether the palette should be reversed.

...

Additional arguments to pass to [`colorRampPalette()`][colorRampPalette].

Details

This function is usually not called directly, but from within [`scale_color_unifrog()`][scale_color_unifrog].