diff --git a/lib/src/widgets/change_colors.dart b/lib/src/widgets/change_colors.dart index 9bac854..a4db34d 100644 --- a/lib/src/widgets/change_colors.dart +++ b/lib/src/widgets/change_colors.dart @@ -74,7 +74,7 @@ List _adjustMatrix({required double hue, required double brightness}) { ]; // dart format on } - final brightnessValue = brightness <= 0 ? brightness * 255 : brightness * 100; + final brightnessValue = brightness <= 0 ? brightness * 100 : brightness * 100; return List.from([ 0.213 + cos(hue) * 0.787 + sin(hue) * -0.213, 0.715 + cos(hue) * -0.715 + sin(hue) * -0.715,