HsiColor.fromColor constructor

HsiColor.fromColor(
  1. Color color
)

Constructs a HsiColor from color.

Implementation

factory HsiColor.fromColor(Color color) =>
    RgbColor.fromColor(color).toHsiColor();