Darken Color

Pure
DarkenColor

Decreases the brightness/lightness of a color.

Type: Pure (no side effects)
Category: Fortuna|Color & Visual
Keywords: color & visual

Inputs

NameTypeDefaultDescription
ColorFLinearColorColor parameter
Amountfloat 0-1Amount parameter

Outputs

NameTypeDescription
ReturnValueFLinearColorReturnValue output

Example Use Cases

Example 1

Create a shadow color from a base color.

Example 2

Dim colors for a 'night' mode UI theme.