toHSL method
Implementation
HSL toHSL() {
final rgb = toRgb();
final r = rgb[0].toDouble();
final g = rgb[1].toDouble();
final b = rgb[2].toDouble();
return HSL.fromRGB(r, g, b);
}
HSL toHSL() {
final rgb = toRgb();
final r = rgb[0].toDouble();
final g = rgb[1].toDouble();
final b = rgb[2].toDouble();
return HSL.fromRGB(r, g, b);
}