Hi all,
Most of you probably know about the method called 'getRGB' in the Color class. But, is there a way to do that yourself, so you don't have to create a Color instance each time you want an integer for a color?
Thanks.


int rgb = (alpha << 24) + (red << 16) + (green << 8) + blue;