darkenBy

Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

Decreases the lightness of a KalugaColor.RGBColor by this factor.

Parameters

value

the amount by which to decrease the lightness. Should range between 0.0 and 1.0


Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

Decreases the lightness of a KalugaColor by this factor. If this is a KalugaColor.DarkLightColor each component wll be darkened individually.

Parameters

value

the amount by which to decrease the lightness. Should range between 0.0 and 1.0