Esempio n. 1
0
    public static Color HSL2BlueGreen(double h, double sl, double l)
    {
        double new_h = (1 - h) * (ColourUtility.lowestBlue - ColourUtility.highestGreen) + highestGreen;
        Color  rgb   = ColourUtility.HSL2RGB(new_h, sl, l);

        return(rgb);
    }
Esempio n. 2
0
    public static Color HSL2YellowRed(double h, double sl, double l)
    {
        double new_h = (1 - h) * (ColourUtility.lowestYellow);
        Color  rgb   = ColourUtility.HSL2RGB(new_h, sl, l);

        return(rgb);
    }
Esempio n. 3
0
    public static Color HSL2PurpleRed(double h, double sl, double l)
    {
        double new_h = h * (ColourUtility.lowestPurple);
        Color  rgb   = ColourUtility.HSL2RGB(new_h, sl, l);

        return(rgb);
    }