Srgb.fromColor constructor

Srgb.fromColor(
  1. Color color
)

Implementation

Srgb.fromColor(ui.Color color) : this(color.red, color.green, color.blue);