setGreen

public Color setGreen(int green)

Creates new Color object with specified component

Return

new color object with the red component

Parameters

green

the red component, from 0 to 255