The wide gamut Color migration shows this code:
extension IntColorComponents on Color {
int get intAlpha => this.a ~/ 255;
int get intRed => this.r ~/ 255;
int get intGreen => this.g ~/ 255;
int get intBlue => this.b ~/ 255;
}
Is this correct? Why is it dividing and not multiplying? Aren’t the a,r,g,b values from 0 to 1?