diff options
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/utils.py b/utils.py deleted file mode 100644 index ec402a4..0000000 --- a/utils.py +++ /dev/null @@ -1,6 +0,0 @@ -def rgb_to_hex(rgb_list: list[int]) -> str: - """ - Converts a list of RGB values to a hex string. - """ - r, g, b = rgb_list - return f"#{r:02x}{g:02x}{b:02x}" |