withGreen

@NotNull
open fun withGreen(green: Int): @NotNull Color

Creates a new colour with the given new [green] value.

Return

the new colour

Parameters

green

the new green value