color.new

Color with a new transparency (0 = opaque, 100 = invisible). On a color.theme color both its dark and light parts get it.

color.new(color: color, transp: int/float) -> color

Parameters

Example

color.new(color.amber, 80)