Update utils to current project

This commit is contained in:
Kiryl
2022-08-03 16:44:23 +03:00
parent e3290b23bb
commit 3cd793ea78
3 changed files with 36 additions and 38 deletions

View File

@@ -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