Color lighten(double amount) { final hsl = HSLColor.fromColor(this); final changed = hsl.withLightness(hsl.lightness * amount); return changed.toColor(); }