rgb_to_plotly

ifermi.plot.rgb_to_plotly(color)[source]

Get a plotly formatted color from rgb values.

Parameters:

color (tuple[float, float, float]) – The color in rgb format as a tuple of three floats from 0 to 1.

Return type:

str

Returns:

The plotly formatted color.