withAlpha

abstract infix fun withAlpha(newAlpha: Float): KutintColor<T>

Creates a new color with the given alpha value.

Return

A new color with the given alpha value.

Parameters

newAlpha

The new alpha value 0 to 1.