XyzColor.from constructor

XyzColor.from(
  1. ColorModel color
)

Constructs a XyzColor from color.

Implementation

factory XyzColor.from(ColorModel color) => color.toXyzColor();