This site requires JavaScript, please enable it in your browser!
Greenfoot back
JetLennit
JetLennit wrote ...

2013/7/21

How to get only the r value of a color

JetLennit JetLennit

2013/7/21

#
So I have this color (for these purposes lets call the color "clr") i want to know how to get just the r (red) value of the color
int red = clr.getRed();
JetLennit JetLennit

2013/7/21

#
Thanks
You need to login to post a reply.