lightened

fun Color.lightened(byPercent: Float = Color.DEFAULT_SHIFTING_PERCENT): Color(source)

Lighten this color by some target percent value.

Parameters

byPercent

A value between 0 (no change) and 1 (will result in white). Otherwise, lighten the current color rgb values by some percent amount (so the final result depends upon the initial values).