matplotlib.colors.to_rgb#

matplotlib.colors.to_rgb(c)[source]#

Convert thecolorc to an RGB color tuple.

If c has an alpha channel value specified, that is silently dropped.

Examples usingmatplotlib.colors.to_rgb#

List of named colors

List of named colors

Ribbon box

Ribbon box

Style sheets reference

Style sheets reference