
Hi Elie, Nothing is attached to your message .... and besides the image (which I guess is what you meant to attach), would also be useful to see the exact command used to color the structure in case anything is wrong with it and also so that we can try the same command. Thanks, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Resource for Biocomputing, Visualization, and Informatics Department of Pharmaceutical Chemistry University of California, San Francisco
On Apr 17, 2024, at 2:23 PM, Élie Lambert via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:
Hi all,
I wrote a script to color code individual chains of a structure based on fold change values. When I plug the resulting rgb values in ChimeraX, the colors that are rendered are off by quite a bit in some cases. Attached is an example demonstrating such a difference. On the left is shown the color provided for the selected chain, which shows correctly in the ‘Select color’ window as rgb(196,216,214). However the resulting structure rendered has a different actual color (rgb(227,251,248), as measured with eyedropper tool in Illustrator).
This variation is not consistent, colors with higher saturation are not impacted as much, but can still be a bit off. I am using flat lighting with depthcue off, which I believe should mean that no shadows could affect the rendering. I have tried providing colors in other formats such as hex with no difference. I just updated to ChimeraX version 1.7.1 which also did not help (Windows).
Please let me know if I am missing anything obvious. Thanks in advance!
Regards, Elie