kewler
kewler copied to clipboard
It is possible to create invalid colors
Doing something like:
colour("#FF9900")(lightness(400))()
results in a runtime error - Color passed is not a valid color.
This may be obvious when static values are passed, but gets more complicated when programmatically generating colours.