Fixes a typo.

Conflicts:
	js/RandomColorPalette.js
Ensures that hex conversions are 2 characters long.
Switches subtring to substr for simpler indexing
Changes default value and saturation setting so 0.99.
Ensures HSV values are properly bounded to [0, 1)