klyn.gui.windows.Color.withAlpha
method
public withAlpha(alpha as Double) as Color:
Description

Returns the same RGB color with another alpha channel.

faded = Color(255, 0, 0, 1.0).withAlpha(0.4)