fromInt static method

Oklch fromInt(
  1. int argb
)

Implementation

static Oklch fromInt(int argb) {
  final xyz = xyzFromArgb(argb);
  return fromXyz(xyz[0], xyz[1], xyz[2]);
}