[chimerax-users] Extracting the color name/hex code of a colored ribbon

Theodora Bruun theo.bruun at gmail.com
Fri Dec 23 20:12:52 PST 2022


That works, thank you so much !!

On Fri, Dec 23, 2022 at 9:04 PM Elaine Meng <meng at cgl.ucsf.edu> wrote:

> Hi Theo,
> For a whole model, there is a color well (square that shows the color) in
> the Model Panel that you can click to open the system color editor, which
> would show the hex code.
>
> If it's the color of a specific atom or residue ribbon segment, you can
> select that atom or residue (e.g. with Ctrl-click) and then click the green
> magnifying-glass icon in the toolbar Home tab to open the Selection
> Inspector.  Use the Selection Inspector to inspect the appropriate level
> (atom or residue). Like the Model Panel, the Selection Inspector dialog
> contains color wells which you can click to open the system color editor,
> as mentioned above.
>
> Ways to make a selection:
> <https://rbvi.ucsf.edu/chimerax/docs/user/selection.html>
>
> Selection Inspector tool:
> <https://rbvi.ucsf.edu/chimerax/docs/user/tools/inspector.html>
>
> I hope this helps,
> Elaine
> -----
> Elaine C. Meng, Ph.D.
> UCSF Chimera(X) team
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
>
>
> > On Dec 23, 2022, at 1:55 PM, Theodora Bruun via ChimeraX-users <
> chimerax-users at cgl.ucsf.edu> wrote:
> >
> > Hello,
> >
> > I am just curious if there is a command for listing the current color
> name or hex code of an atom/ribbon that is colored in ChimeraX. For
> example, I open a previously colored structure and like the color of chain
> A and now I would like to use that same color and maybe apply to other
> chains in the structure. Is there a way other than just eye-balling it?
> >
> > Best,
> > Theo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rbvi.ucsf.edu/pipermail/chimerax-users/attachments/20221223/9af67ca0/attachment.html>


More information about the ChimeraX-users mailing list