XyzColor.from constructor

XyzColor.from(
  1. ColorModel color
)

Constructs a XyzColor from color.

Implementation

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