Example 2: Creating a green color using the RGB color model:
int green = Color.rgb(0, 255, 0);
The android.graphics.Color class is part of the android.graphics package library in Android.
Java Color.green - 30 examples found. These are the top rated real world Java examples of android.graphics.Color.green extracted from open source projects. You can rate examples to help us improve the quality of examples.