Hello,
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".
I ask because of the color set in Chimera is limited to a set of specific color names, but it does allow the input of any color as specified by the hex code.
Thanks,
Dan
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...
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