this.mapRange(hue, 240, 300, 275, 330) : this.mapRange(hue, 300, 360, 330, 360)); } //https://codepen.io/benknight/pen/nADpy ColorPicker.prototype.mapRange = function(value, fromLower, fromUpper, toLower, toUpper) { return (toLower + (value - fromLower) * ((toUpper - toLo...