merge_imgs

This commit is contained in:
2025-06-23 11:29:52 +08:00
parent a17373d576
commit 56b161dc49
8 changed files with 182 additions and 48 deletions

View File

@ -84,6 +84,7 @@ class Colors:
def __call__(self, i, bgr=False):
"""Converts hex color codes to RGB values."""
i=0
c = self.palette[int(i) % self.n]
return (c[2], c[1], c[0]) if bgr else c