(c)
return f"#{c[0]:02x}{c[1]:02x}{c[2]:02x}"
Convert an rgb-formatted color to hex, ignoring alpha values.
Convert an rgb-formatted color to hex, ignoring alpha values.
Convert an rgb - formatted color to hex ignoring alpha values .
def _rbg_to_hex(c):
    """Convert an rgb-formatted color to hex, ignoring alpha values."""
    return f"#{c[0]:02x}{c[1]:02x}{c[2]:02x}"
def _rbg_to_hex ( c ) : return f"#{c[0]:02x}{c[1]:02x}{c[2]:02x}"