LabColor.fromColor constructor

LabColor.fromColor(
  1. Color color
)

Constructs a LabColor from color.

Implementation

factory LabColor.fromColor(Color color) =>
    RgbColor.fromColor(color).toLabColor();