plotly_gtk.utils.parse_color

plotly_gtk.utils.parse_color(color)

Return the RGB components of a color provided as a string.

Parameters:

color (str)

Returns:

The red, green, and blue components

Return type:

tuple[float,float, float]

Raises:

ValueError – If Gdk cannot parse the color