shade method

Color shade(
  1. Color color,
  2. Dimension amount
)

returns a color amount% points darker

Implementation

Color shade(Color color, Dimension amount) =>
    mix(rgb(0, 0, 0), color, amount);