FromGreen creates a new color with all channels set to zero except for the green component, which is assigned to the passed value.
Parameters |
Description |
UByte g |
A value that is stored in the new colors green channel. |
A new Color object initialized to rgba(0,g,0,0).