gb_pal {drhutools} | R Documentation |
Function to interpolate a gold-black color palette.
Description
Function to interpolate a gold-black color palette.
Usage
gb_pal(palette = "main", reverse = FALSE, ...)
Arguments
palette |
A character vector indicating the name of palette in gb_palettes. Available palettes:
|
reverse |
A logic vector indicating whether the palette should be reversed; the default is FALSE. |
... |
Additional arguments to pass to |
Value
A function that takes an integer argument (the required number of colors) and returns a character vector of colors interpolating the given sequence.
[Package drhutools version 1.0.0 Index]