which indicates the purity or saturation of the color and hue angle which expresses the color change (an angle of 0 or 360q represents red hue, while angles of 90, 180, and 270q indicate yellow, green and blue hue, respectively) were calculated as
follows