barwy kategorii
This commit is contained in:
2
app.py
2
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,
|
||||
|
Reference in New Issue
Block a user