desaturate

fun desaturate(percent: Int): Color(source)

Desaturate the color by the specified percent (between 0-100), returning a new instance of Color.

Return

a new desaturated version of this color

Parameters

percent

the percent to desaturate the Color