HspColor.from constructor

HspColor.from(
  1. ColorModel color
)

Constructs a HspColor from color.

Implementation

factory HspColor.from(cm.ColorModel color) => color.toHspColor().cast();