Added a check to ensure hue value stays at or below base hue hex value.