css_color_to_rgba#
- RNAdist.plots.sampling_plots.css_color_to_rgba(color, opacity)#
Convert any acceptable CSS color to the same color with the specified opacity.
- Parameters:
color – A string representing the CSS color.
opacity – A float representing the opacity value (between 0 and 1).
- Returns:
A string representing the color in RGBA format.