示例#1
0
 public MyColorHSL(HSLColor hsbcolor)
 {
     this.hslcolor = hsbcolor;
     this.rgbcolor = hsbcolor.Color;
 }
示例#2
0
 public MyColorHSL(Color rgbcolor)
 {
     this.rgbcolor = rgbcolor;
     this.hslcolor = HSLColor.FromRGB(rgbcolor);
 }