Hello
I want to draw circles in a rainbow color scheme and my code is working, but i dont get Orange out of it so far (didnt check which other colors dont work too)
So in both Color modes i tried and it doesnt work. I looked up the relevant values for the colors
In RGB i tried 255-125-0 and in HSB it's 30-100-100
For HSB it's shifted. Orange appears around 5 to 10 degrees not 30
int count( int Direction, int Colour) { if (Direction==1)Colour++; else Colour--; if (Colour==255)Direction=0; if (Colour==0)Direction=1; return Colour; return Direction; }
So i have to know how to return the 2 values out of the count function to manipulate each Colour-Class.