intensity property
num
intensity
The intensity, or mean proportion component, of color
.
Implementation
num get intensity => rgbProportions.fold(0.0, (a, b) => a + b) / 3;
The intensity, or mean proportion component, of color
.
num get intensity => rgbProportions.fold(0.0, (a, b) => a + b) / 3;