#9700 closed enhancement (fixed)
Add info commands to report atom and residue colors in hex notation
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Depiction | Version: | |
Keywords: | Cc: | Elaine Meng, chimerax-programmers | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
From: Matzov Donna via ChimeraX-users <chimerax-users@…>
Subject: [chimerax-users] getting HEX code from molecule
Date: September 1, 2023 at 12:49:11 AM PDT
To: "chimerax-users@…" <chimerax-users@…>
Hello,
I was wondering if there's a command that would give me the HEX code of a particular atomspec.
Using the "pick from screen" option in the color editor is somewhat helpful samples the colors that are the results of shadows so I can't really the exact color.
Thanks,
Donna Matzov, PhD
Department of Structural Biology
Weizmann Institute of Science
The Shalev-Benami Lab
Change History (3)
comment:1 by , 2 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:2 by , 2 years ago
I assume "rescolor" means residue cartoon color and will only apply to biopolymer residues? There is also a per-residue ring-fill color, but ring fill is not used that often.
comment:3 by , 2 years ago
Yes rescolor reports cartoon color. All residues even non-polymers have a ribbon color that can be queried, although it is not used for non-polymers. I did not add a command to report ring color.
Done.
I added "info atomcolor" and "info rescolor" commands to report colors using hex codes. For example