Version 2.2.2
matplotlib

This Page

matplotlib.colors.is_color_like

matplotlib.colors.is_color_like(c)

Return whether c can be interpreted as an RGB(A) color.