averageLinearRgb property

ColorTriplet get averageLinearRgb

Returns the average linear RGB.

ColorTriplet by default is in linear RGB color space. Convert to RGB before using the color. See ColorTripletExtensions.toRgb.

Implementation

ColorTriplet get averageLinearRgb => components[0][0];