void MakeSat() { for (int y = 0; y < 256; y++) { FloatingColor c = FloatingColor.Hsv(color.H, 1.0 - y / 255.0, color.V); SetPixel(y, c.ToColor()); } }
void MakeValue() { for (int y = 0; y < 256; y++) { FloatingColor c = FloatingColor.Hsv(color.H, color.S, 1.0 - y / 255.0); SetPixel(y, c.ToColor()); } }
void MakeHud() { for (int y = 0; y < 256; y++) { FloatingColor c = FloatingColor.Hsv(Math.Round((1.0 - y / 255.0) * 360.0), 1.0, 1.0); SetPixel(y, c.ToColor()); } }
void MakeValue() { for (int y = 0; y < 256; y++) { for (int x = 0; x < 256; x++) { FloatingColor c = FloatingColor.Hsv(Math.Floor(x / 255.0 * 360.0), 1.0 - y / 255.0, color.V); image.SetPixel(x, y, c.ToColor()); } } }
void MakeHud() { for (int y = 0; y < 256; y++) { for (int x = 0; x < 256; x++) { FloatingColor c = FloatingColor.Hsv(color.H, x / 255.0, 1.0 - y / 255.0); image.SetPixel(x, y, c.ToColor()); } } }