The previous version of this library assumed use on RGB native
platforms, eg. web browsers. This had some consequences for HSL/HSB
devices (eg. Philips Hue lightbulbs), where 100% lightness does not
necessarily imply white light.
v2 uses some trig functions that are slower than the v1 algorithm. For
super fast averaging, v1 is still your best bet.