See ?grDevices::palette (below). These functions are 'base' R 4.* functions, but not part of the base package. Should the backports package also incorporate these?
Set or View the Graphics Palette
Description
View or manipulate the color palette which is used when col= has a numeric index and supporting functions.
Usage
palette(value)
palette.pals()
palette.colors(n = NULL, palette = "Okabe-Ito", alpha, recycle = FALSE)
...