OklabColor.fromColor constructor
OklabColor.fromColor(
- Color color
Constructs an OklabColor from color
.
Implementation
factory OklabColor.fromColor(Color color) =>
RgbColor.fromColor(color).toOklabColor();