Hi, tonight I'm searching for return a 32bit value (Ex:-5464123) from a RGB splited code (R. G. B)
I tried some different calcul but unable to find the best calcul...
Anyone can help me?
Thanks for your replies!
should display -256, which is cYellow. All colours in Basic4ppc have an Alpha value of 255 as the Compact Framework does not support alpha transparency.
That's a bit vague; in what way does it not work? (If there's a better way to annoy a support person than just saying "it does not work" I do not know what it might be!)
I wanted to use seven colours from the electronic component number sequence (brown, red, orange, yellow, green, blue, purple) but found that the Basic4PPC "cBrown" was not brown enough. So I chose my own, and my array is set up as follows. (It works OK for me!)
Sorry, in fact I confused between "rvb()" who mean "Rouge, Vert, Bleu" and "rgb()" who mean "Red, Green, Blue" and as I'm french I used rvb() function, so it's normal that it didn't work...
Thanks again for your replies!
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.