Get color tuple

From PyMOLWiki
Revision as of 05:48, 8 September 2015 by Sbliven (talk | contribs) (Documenting cmd.get_color_tuple)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Converts a pymol color name into a RGB tuple.

Example

PyMOL>print cmd.get_color_tuple("raspberry")
(0.699999988079071, 0.30000001192092896, 0.4000000059604645)