fromInt method

  1. @override
List<double> fromInt(
  1. int argb
)
override

Convert a color represented in ARGB to a 3-element array of Lab* coordinates of the color.

Implementation

@override
List<double> fromInt(int argb) {
  final lab = ColorUtils.labFromArgb(argb);
  return [lab[0], lab[1], lab[2]];
}