Hello, i want to make rainbow code for all colors but this code gives me only two colors purple and green can someone post little explanation here thanks.
this is my code
static int Hex = 0xFFFF00FF;
if (Hex != 0xFFFFFFFF)
Hex += 0xFFFF00FF;
here im using RGBA, A=alpha last one FF is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.