The `color` function is too rigid and throws an error with custom palettes
simeonoff opened this issue · comments
Simeon Simeonoff commented
The color
function only works with generated palettes that follow the IPalette
map.
If a non-compliant color is passed, the color
function fails with an error.
To support non-compliant palettes, there should be no check if the passed color name is 'valid'.