A color management API for javascript