Version 2.2.2
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.