Created a documentation and updated the README
This commit is contained in:
parent
3664f811dc
commit
66541220bf
6 changed files with 451 additions and 17 deletions
|
@ -4,7 +4,8 @@
|
|||
from colorsys import rgb_to_hsv as _rgb_to_hsv
|
||||
|
||||
|
||||
def rgb_to_hsv(r:int, g:int, b:int) -> float:
|
||||
def rgb_to_hsv(r:int, g:int, b:int) -> tuple:
|
||||
'''Convert RGB colors `(255, 220, 100)` to HSV `(0.129, 0.608, 1.0)`'''
|
||||
assert type(r) == int
|
||||
assert type(g) == int
|
||||
assert type(b) == int
|
||||
|
|
Reference in a new issue