RgbColor.from constructor

RgbColor.from(
  1. ColorModel color
)

Constructs a RgbColor from color.

Implementation

factory RgbColor.from(ColorModel color) => color.toRgbColor();