0

Recently I have been looking for solutions about making a rainbow gradient in visual studio, all I have come across is with the use of the rand function, which I do not want, as it is random colors. Is there a way to make a nice cycling gradient in visual studio?

Thanks, Phillip.

Stargateur
  • 24,473
  • 8
  • 65
  • 91
  • 2
    Using what? Winforms? What sort of control? WPF it would be a cinch for most controls. – Austin T French Oct 11 '17 at 01:19
  • Possible duplicate of [How do I get a rainbow color gradient in C#?](https://stackoverflow.com/q/2288498/10263) – Brian Rogers Oct 11 '17 at 02:37
  • Have a look at this http://csharphelper.com/blog/2014/09/map-numeric-values-to-colors-in-a-rainbow-in-c – Srikanth Oct 11 '17 at 04:02
  • I am looking for a way to make a gradient, sort of like the one showed in this video. https://www.youtube.com/watch?v=PUeF-Onx7Hc Except not with the rand function, with a defined set of colors cycling through the rainbow. – Phillip Oct 11 '17 at 19:26

0 Answers0