HsiColor.from constructor

HsiColor.from(
  1. ColorModel color
)

Constructs a HsiColor from color.

Implementation

factory HsiColor.from(cm.ColorModel color) => color.toHsiColor().cast();