Returns a new color that matches this color with the green channel replaced with g (which ranges from 0 to 255).
g
Out of range values will have unexpected effects.
Color withGreen(int g) { return new Color.fromARGB(alpha, red, g, blue); }