stylishDarken

Darkens this color by interpolating it toward Color.Black.

A factor of 0.0f returns the color unchanged; 1.0f returns pure black. Values outside the 0.0f..1.0f range are clamped by the underlying lerp interpolation.

Return

The darkened color.

Parameters

factor

The blend amount toward black, in the range 0.0f..1.0f.

See also