HsbColor.from constructor

HsbColor.from(
  1. ColorModel color
)

Constructs a HsbColor from color.

Implementation

factory HsbColor.from(ColorModel color) => color.toHsbColor();