darken

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

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

Return

a new darkened version of this color

Parameters

percent

the percent to darken the Color