Hi, I have an ofColor object, and I would like to get the RGB components out of it, but for some reason when I print out color.r, I get weird characters instead of the 0-255 range I expect to see.
For example:
cout<<color.r<<endl;
gives me: random characters [ w /221, etc. (Are these the byte values?)
on the other hand,
cout<<color<<endl;
give me: 91, 98, 43, 255 - the RGBA values, as expected.
How can I get the RGB values from my ofColor object as 0-255 range?
thanks!