Constructs a HslColor from color.
color
factory HslColor.fromColor(Color color) => RgbColor.fromColor(color).toHslColor();