You are reading an old version of the documentation (v2.1.1). For the latest version see
https://matplotlib.org/stable/api/_as_gen/matplotlib.colors.to_rgb.html
Fork me on GitHub
Navigation
index
modules
|
next
|
previous
|
home
|
examples
|
tutorials
|
pyplot
|
docs
»
The Matplotlib API
»
colors
»
Travis-CI:
Related Topics
Documentation overview
The Matplotlib API
colors
Previous:
matplotlib.colors.to_hex
Next:
matplotlib.colors.to_rgba
This Page
Show Source
Quick search
matplotlib.colors.to_rgb
¶
matplotlib.colors.
to_rgb
(
c
)
¶
Convert
c
to an RGB color, silently dropping the alpha channel.