Convert numbers to colors. If colors are already supplied, return the input
apply_color_scale(
values,
color_series,
interval = NULL,
no_color_in_palette = 1000
)character Hex color codes.
(numeric) The numbers to represent as colors
(character) Hex values or a character in colors
(numeric of length 2) The range values could have taken.
(numeric of length 1) The number of distinct colors to use.