Fixed illegible colors

This commit is contained in:
Erica
2021-11-21 22:06:34 +00:00
parent 15f21d42d4
commit ee69737141

View File

@ -354,7 +354,7 @@ class Player:
# Brightness and saturation thresholds
if brightness < 0.35 or saturation < 0.1:
return 0.01 * (brightness + saturation) / 2
return 0.01 * (brightness**2)
else:
return math.sqrt(brightness**2 * saturation)