[chimerax-users] Feature suggestion - show color code in picker?

Oliver Clarke olibclarke at gmail.com
Tue May 19 18:25:49 PDT 2020


Thanks as always Elaine, I don't know how I missed that! :-)

But that seems different from the color code that is printed out to the log, which is in a format that includes the transparency in the code - see attached screenshot.

So I guess a more precise query - when I adjust the color of a volume, the color command, with the code, is printed to the log, whereas when I adjust the color of a model or selection it is not. This code is handy, because it includes both the color and transparency (last two digits), so it's useful to plug into a script or alias.

So if it's an easy thing to do (probably not in which case please ignore!) it would be useful if color commands were printed out to the log when adjusting the color of models or selections, as well as when adjusting the color of volumes.

Cheers
Oli

On May 20, 2020 at 0:46 GMT, Elaine Meng <meng at cgl.ucsf.edu> wrote:

Hi Oliver,
We are using the system color editor. It is not a part of the ChimeraX code or anything we would be modifying, although happy to take praise :-).

However, if you're on a Mac and you mean the hex code, it is shown in the "RGB sliders" pane of the color editor. You can still use the picker to pick what you want, and then switch to that pane. See attached screenshot.
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

On May 19, 2020, at 4:23 PM, Oliver Clarke <olibclarke at gmail.com> wrote:

Hi,

I love the color editor in ChimeraX, it is much nicer than the one in Chimera and is super useful!

One minor suggestion - would it be possible to add a dynamically updated label showing in the editor the current color code? This sometimes shows up in the log but not always, and it is useful to have easily copy-able for use in scripts and aliases.

Cheers
Oli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200520/3e648f0e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 422046 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20200520/3e648f0e/attachment-0001.png>


More information about the ChimeraX-users mailing list