Returns a new color that matches this color with the green channel replaced with g.
Color withGreen(int g) { return new Color.fromARGB(alpha, red, g, blue); }