colors: fixed HCYtoRGB that was returning values greater than 1.

I found that the function HCYtoRGB used in HCYColorGradient was returning values greater than 1.0. This PR fixes this.