Maps colors between IDEAS and R.
paletteIFC(
x = c("", "palette", "palette_R", "to_light", "to_dark")[1],
col = "White"
)
IFC palette of available colors.
either "", "palette","palette_R", to_light, to_dark. Default is "".
a compatible color to transform to color or lightModeColor. Default is "White".
if 'x' == to_light, function will convert 'col' to lightModeColor.
if 'x' == to_dark, function will convert 'col' to color.
if 'col' is not found or 'x' is anything else then a data.frame of compatible colors is returned.