getBrighterSpace method

int getBrighterSpace()

Returns the amount of space for a brighter color.

Implementation

int getBrighterSpace() {
  var min = Math.minInList([red, green, blue])!;
  var space = 195 - min;
  return space;
}