예제 #1
0
        public Color ToColor()
        {
            RgbColor rgb = ToRgb();

            return(Color.FromArgb(rgb.Red, rgb.Green, rgb.Blue));
        }
예제 #2
0
        public static HsvColor FromColor(Color color)
        {
            RgbColor rgb = new RgbColor(color.R, color.G, color.B);

            return(rgb.ToHsv());
        }