blacken method

Color blacken(
  1. double amount
)

Implementation

Color blacken(double amount){
  assert(amount >= 0 && amount <= 1);
  return whiten(1 - amount);
}