[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-users] Topology colors



On 5/13/19 10:29 AM, Daniel Ziemianowicz wrote:
Quick question – in the topology file is “color” restricted to the names of colors as specified by Chimera? Or can we use the 6-digit hex code as well? E.g. instead of “red” use “#ff0000”.
See the docs at 
https://integrativemodeling.org/2.10.1/doc/ref/classIMP_1_1pmi_1_1topology_1_1TopologyReader.html
According to that and the code color can be "chimera names or R,G,B 
values". So you could use "1.0, 0.0, 0.0" for "red". It would be easy to 
add support for 6-digit hex codes though - I'll open an issue.
	Ben
--
ben@salilab.org                      https://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle