getDarkerSpace method

int getDarkerSpace()

Returns the amount of space for a darker color.

Implementation

int getDarkerSpace() {
  var max = Math.maxInList([red, green, blue])!;
  var space = max - 80;
  return space;
}