Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.colors.to_rgb

matplotlib.colors.to_rgb(c)[source]

Convert c to an RGB color, silently dropping the alpha channel.