colors: make darker()/lighter() be 50% stronger

This commit is contained in:
lelgenio 2021-02-21 23:18:51 -03:00
parent 2595ba1ab2
commit 0f53b5b7e9
1 changed files with 2 additions and 2 deletions

View File

@ -74,11 +74,11 @@ def color_mult(e: str, amount: float):
# Filters
####################################################################
def darker(arg1, amount=0.75):
def darker(arg1, amount=0.5):
return color_mult(arg1, amount)
def lighter(arg1, amount=1.25):
def lighter(arg1, amount=1.5):
return color_mult(arg1, amount)
def as_hex(in_number):