darken
Darkens this color by the provided magnitude.
const darkBlue = Color.BLUE.darken(0.5, new Color());
Content copied to clipboard
Return
The modified result parameter.
Parameters
magnitude
A positive number indicating the amount to darken.
result
The object onto which to store the result.