Fixed illegible colors
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user