forked from LiveCarta/BookConverter
Update utils to current project
This commit is contained in:
@@ -8,7 +8,7 @@ html4_hex_to_names = {'#00ffff': 'aqua', '#000000': 'black', '#0000ff': 'blue',
|
||||
'#ffffff': 'white', '#ffff00': 'yellow'}
|
||||
|
||||
|
||||
def rgb2hsv(r, g, b):
|
||||
def rgb2hsv(r: int, g: int, b: int):
|
||||
r /= 255
|
||||
g /= 255
|
||||
b /= 255
|
||||
|
||||
Reference in New Issue
Block a user