get_next_palette_color: Get next color from palette with cycling
Description
Returns the next color from a predefined palette, cycling back to the beginning
when all colors have been used. This ensures consistent and readable colors.
Usage
get_next_palette_color(used_colors)
Value
Character string containing a hex color code
Arguments
- used_colors
Character vector of already used colors