Color deg2Color( double alpha, double hue, double saturation, double lightness, ) { HSLColor hsl = HSLColor.fromAHSL(alpha, hue % 360, saturation, lightness); return hsl.toColor(); }