Color utility library in Javascript