aryagraph.style.colors.to_hex#

aryagraph.style.colors.to_hex(color: str | Sequence[float], keep_alpha: bool = True) → str[source]#

Canonical lowercase hex (#rrggbb or #rrggbbaa when translucent).