Compare commits

...

2 Commits

View File

@ -12,7 +12,7 @@ def normalise_colour(max_color, triplet):
components = triplet.split(",")
new_components = []
for component in components:
new_components.append(str(int(float(color_factor) * int(component))))
new_components.append(str(int(float(color_factor) * int(float(component)))))
return ",".join(new_components)