dimmest property
O
dimmest
Returns the color with the lowest perceived brightness value.
Implementation
O get dimmest => colors.reduce((color1, color2) {
return color1.toHspColor().perceivedBrightness <
color2.toHspColor().perceivedBrightness
? color1
: color2;
});