HspColor.from constructor

HspColor.from(
  1. ColorModel color
)

Constructs a HspColor from color.

Implementation

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