isColorDark method
Returns whether the given color is considered dark. The color must be given as a linear RGB color.
Implementation
bool isColorDark(ColorTriplet color, {double threshold = 0.3}) =>
_getDarkness(color, threshold);
Returns whether the given color is considered dark. The color must be given as a linear RGB color.
bool isColorDark(ColorTriplet color, {double threshold = 0.3}) =>
_getDarkness(color, threshold);