public HSVColour(DegreeColourComponent h, UnitColourComponent s, UnitColourComponent v, UnitColourComponent a) { _h = h; _s = s; _v = v; _a = a; }
public HSLColour(DegreeColourComponent h, UnitColourComponent s, UnitColourComponent l, UnitColourComponent a) { _h = h; _s = s; _l = l; _a = a; }
public HSVColour(DegreeColourComponent h, UnitColourComponent s, UnitColourComponent v) { _h = h; _s = s; _v = v; _a = ColourSpaceConstants.ONE; }
public HSLColour(DegreeColourComponent h, UnitColourComponent s, UnitColourComponent l) { _h = h; _s = s; _l = l; _a = ColourSpaceConstants.ONE; }
public static UnitColourComponent ToUnitColour(this DegreeColourComponent colourComp) => new UnitColourComponent(colourComp.Value / DegreeColourComponent.MaxValue);