Sign In

$shade[]

Darkens a color by blending it with black.

v1.0.2+ Requires Brackets

Usage

$shade[;]
Also callable as
$shadeColor

Arguments

NameTypeRequiredDescription
color
StringYesThe color to shade.
amount
NumberYesAmount to darken (0–1).

Output

String

Was this page helpful?