Created a documentation and updated the README

This commit is contained in:
Julian Müller (ChaoticByte) 2023-07-21 22:35:31 +02:00
parent 3664f811dc
commit 66541220bf
6 changed files with 451 additions and 17 deletions

View file

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