lighter

fun Color.lighter(percent: Float = 0.5f): Color

Makes this Color lighter by the given percent.

Return

the new color

Parameters

percent

to lighted the color


fun HslColor.lighter(percent: Float = 0.5f): HslColor

Makes this color lighter by the given percent.

Return

the new color

Parameters

percent

to lighted the color