mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-10 07:58:12 +01:00
colors: fix print
This commit is contained in:
parent
93c4bcd96b
commit
af96e382b4
@ -65,7 +65,6 @@ def sort_colors(img, colors):
|
|||||||
raw_colors[8] = util.lighten_color(raw_colors[0], 0.40)
|
raw_colors[8] = util.lighten_color(raw_colors[0], 0.40)
|
||||||
|
|
||||||
colors = {"wallpaper": img}
|
colors = {"wallpaper": img}
|
||||||
|
|
||||||
colors_special = {}
|
colors_special = {}
|
||||||
colors_hex = {}
|
colors_hex = {}
|
||||||
|
|
||||||
|
@ -100,7 +100,6 @@ def rgb_to_hex(color):
|
|||||||
def darken_color(color, amount):
|
def darken_color(color, amount):
|
||||||
"""Darken a hex color."""
|
"""Darken a hex color."""
|
||||||
color = [int(col * (1 - amount)) for col in hex_to_rgb(color)]
|
color = [int(col * (1 - amount)) for col in hex_to_rgb(color)]
|
||||||
print(color)
|
|
||||||
return rgb_to_hex(color)
|
return rgb_to_hex(color)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user