gnssr4water.plot.colors module#

gnssr4water.plot.colors.add_alpha(hxcol, alpha)#

Add an alpha channel to a hex color code. Parameters: ———- hxcol: str

Hex color code (e.g., ‘#FF5733’).

alpha: float

Alpha value between 0 (transparent) and 1 (opaque).