Initial commit with code

This commit is contained in:
2025-04-16 18:39:03 +02:00
parent fcaa3263cb
commit cf0d4bd18f
24 changed files with 576 additions and 18 deletions

6
modules/utils.py Normal file
View File

@@ -0,0 +1,6 @@
def hex_to_int(hex_color: str) -> int:
return int(hex_color.lstrip("#"), 16)
def int_to_hex(integer_color: int) -> str:
return "#" + format(integer_color, "06x")