Need to have an OpenSesame expert by your side 24/7? Subscribe to Sigmund!
Color conversion functions (color-convert)
The color-convert
library is available as convert
. It provides convenient high level functions for converting from one color specification to another.
Example:
console.log('The RGB values for blue are ' + convert.keyword.rgb('blue'))
For an overview, see: