Skip to contents

Helper function to darken down a given color.

Usage

darken(color, factor = 0.5)

Arguments

color

Color name or hex code of a color

factor

Multiplicative factor by which `color` will be darkened down