forked from LiveCarta/BookConverter
epub converter: update
This commit is contained in:
@@ -59,6 +59,8 @@ def str2color_name(s: str):
|
||||
name = get_hex_colour_name(s)
|
||||
return name
|
||||
|
||||
elif s in html4_hex_to_names.items():
|
||||
return s
|
||||
else:
|
||||
return ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user