hasColor property

bool hasColor

Does the image have any color channels?

Implementation

bool get hasColor => red != null || green != null || blue != null;