Quantcast
Channel: Answers for "Putting RGB Colours into an Array? C#"
Viewing all articles
Browse latest Browse all 5

Answer by landon91235

$
0
0
Color[] colors = { new Color(0,1,0,1), new Color(1,0,0,1), new Color(1,1,1,1), new Color(0,0,1,1), new Color(1,1,0,1), new Color(0, 0, 0, 1)}; That is your existing array translated into their explicit form. Following this suit you will be able to mix your own colors.

Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>