max property

double get max

The channel's greatest value.

Implementation

double get max => this == hue ? 360 : 1;