isBlack method

bool isBlack()

Implementation

bool isBlack() {
  return (r == 0) && (g == 0) && (b == 0);
}