public static void CheckHSLInRange(double _a, double _h, double _s, double _l) { ColorUtil.CheckRange_0_1(_a, typeof(ColorHSL), "A"); ColorUtil.CheckRange_0_1_NAN(_h, typeof(ColorHSL), "H"); ColorUtil.CheckRange_0_1_NAN(_s, typeof(ColorHSL), "S"); ColorUtil.CheckRange_0_1(_l, typeof(ColorHSL), "L"); ColorUtil.CheckCompatibleHS(_h, _s); }