CmykColor.fromColor constructor

CmykColor.fromColor(
  1. Color color
)

Constructs a CmykColor from color.

Implementation

factory CmykColor.fromColor(Color color) =>
    RgbColor.fromColor(color).toCmykColor();