-
-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
T: bugBug.Bug.
Description
When I convert to web_color from root menu (info.html) I get invalid color like „#ffff“:
Next, I choose „white“:
I guess that this code („color_helper_insert.py“, line 42):
if convert == "name":
try:
if len(target_color) > 7:
target_color = target_color[:-2]
self.web_color = csscolors.hex2name(target_color)
except:
pass
self.force_alpha = True
can be replaced by the following code:
if convert == "name":
self.web_color = csscolors.hex2name(target_color)
Metadata
Metadata
Assignees
Labels
T: bugBug.Bug.

