toColour method
Converts this colour to its Colour (ARGB) representation.
Implementation
@override
Colour toColour() {
final double chroma = (1.0 - (2.0 * lightness - 1.0).abs()) * saturation;
final double secondary =
chroma * (1.0 - (((hue / 60.0) % 2.0) - 1.0).abs());
final double match = lightness - chroma / 2.0;
return ColourSpace.colourFromHue(alpha, hue, chroma, secondary, match);
}