예제 #1
0
        public short TestTemperatureAsNumber(int hue)   // from -100 to 100
        {
            var celsius = _harmony.GetTemperatureAsNumber(ToColor(new Hsl {
                H = hue, L = 50, S = 50
            }));

            return(celsius);
        }