From b24748a7b64f4f5e780a669059c31188839a3ed8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Sat, 18 Oct 2025 00:21:50 +0200 Subject: [PATCH] barwy kategorii --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index ae783c0..4777de9 100644 --- a/app.py +++ b/app.py @@ -955,7 +955,7 @@ def pick_hue_rotating(hv: int, used_hues: List[int], min_deg: int) -> int: a, b = ALLOWED_HUE_SEGMENTS[0] return a -def category_to_color_hls(name: str, used_hex_colors: List[str] = None, +def category_to_color(name: str, used_hex_colors: List[str] = None, min_hue_gap_deg: int = 28) -> str: """ Zwraca bardzo ciemny kolor HEX z dozwolonych pasów hue, tak by unikać żółci i jasnych zieleni,