This is a read-only mirror of pymolwiki.org

Difference between revisions of "Get color tuple"

From PyMOL Wiki
Jump to navigation Jump to search
(Documenting cmd.get_color_tuple)
 
m (1 revision)
 
(No difference)

Latest revision as of 01:22, 19 October 2015

Overview

Converts a pymol color name into a RGB tuple.

Example

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