This commit is contained in:
Auric Vente
2024-07-18 22:55:49 -06:00
parent c95dab8e57
commit 6cb5fdc8ec
5 changed files with 125 additions and 71 deletions

View File

@@ -85,3 +85,7 @@ class Utils:
used = Ants.get_names()
filtered = [name for name in Utils.names if name not in used]
return random.choice(filtered)
@staticmethod
def get_rgb(color: tuple[int, int, int]) -> str:
return f"rgb{color}"