public static void Test()
        {
            Color c1 = Color.OrangeRed;
            Color c2 = Color.GreenYellow;
            Color c3 = ColorTranslator.FromHtml(@"#0066CC");
            Color c4 = ColorTranslator.FromHtml(@"#FF0000");

            RGBColour colour01 = new RGBColour(255, 0, 0);
            RGBColour colour02 = new RGBColour(0, 255, 0);
            RGBColour colour03 = new RGBColour(0, 0, 255);

            RGBColour colour04 = new RGBColour(255, 255, 0);
            RGBColour colour05 = new RGBColour(255, 0, 255);
            RGBColour colour06 = new RGBColour(0, 255, 255);

            RGBColour colour07 = new RGBColour(0, 0, 0);
            RGBColour colour08 = new RGBColour(255, 255, 255);

            // --

            //HsbColor hsb01 = HsbColor.FromColor( color01 );
            //HsbColor hsb02 = new HsbColor(
            //(int)color01.GetHue(),
            //(int)(color01.GetSaturation()*100),
            //(int)(color01.GetBrightness()*100) );

            HSLColour hsl02 = HSLColour.FromRGBColour(colour02);
            HSBColour hsb01 = HSBColour.FromRGBColour(colour01);

            //HslColor hsl02 = new HslColor(
            //    (int)color01.GetHue(),
            //    (int)(color01.GetSaturation() * 100),
            //    (int)(color01.GetBrightness() * 100) );

            RGBColour r = hsl02.ToRGBColour();

            RGBColour o1 = new RGBColour(115, 72, 50);
            HSLColour o2 = o1.ToHSLColour();
            RGBColour o3 = o2.ToRGBColour();

            // --

            int i = 0;
        }
 private void SetColour(HSLColour colour)
 {
     SetColour(colour.ToRGBColour());
 }