[chimerax-users] inaccurate color box in the Models panel

Tom Goddard goddard at sonic.net
Thu Dec 17 10:26:05 PST 2020


Hi Daniel,

  It is pretty weird that the Mac color chooser eye dropper changes the color when clicked on the current color in the color chooser.  But this bizarre (seems like a bug) behavior has nothing to do with ChimeraX.  If you start an Apple application such as TextEdit on the Mac and press the color button and use the eye dropper in its color chooser (which is the same as the ChimeraX one, just the macOS standard color chooser) it exhibits the same erratic behavior.

  One think that causes the numbers to change a lot when using the eye dropper is if you set the color profile in the color chooser (under the color chooser settings gear icon) -- for instance when I change from Display P3 which seems to be the default profile in TextEdit to sRGB then use the eye dropper and there is a big change in RGB numbers.  That appears to be because the eye dropper changes the color profile back to Display P3.

  Sometimes the RGB values change a lot and other times a little or not at all -- very strange.

	Tom



> On Dec 17, 2020, at 12:53 AM, Daniel Larsson <daniel.larsson at icm.uu.se> wrote:
> 
> Attached are three screen dumps to illustrate the problem. The left side shows the initial state. Then I used the eye-dropper and clicked on 1. This resulted in the middle state. The RBG values at arrow-heads 1 and 2 are both (209,35,16) when checking the screen grabs in Photoshop. The model has however changed to a slightly darker shade. When I click on arrow-head 2 (no eye-dropper, just plain left-clicking), I get the right state. The RBG value at arrow-head 3 in Photoshop is (193,8,4). This seems to be the same color as the model has.
> 
> Regards,
> Daniel
> 
> 
>  <chimerax-colors.png>
> 
> 
>> On 2020-12-17, at 08:46, Daniel Larsson <daniel.larsson at icm.uu.se <mailto:daniel.larsson at icm.uu.se>> wrote:
>> 
>> Hi all,
>> 
>> I'm trying to color multiple models in the same color using the color column in the Models panel. When I use the eye-droppper in the macOS colors panel, which pops up when I click on the color box, and then sample the middle of another color box, it gives me a slightly different RGB value. For example, if I start out with (209,35,16), what I get is (206,31,0). Another way of saying it is, if I sample the same color box with the eye-dropper repeatedly, the color changes. I can start out with a bright red color and then repeatedly sample the same box over and over and the color becomes a dark brown. What's up with this? Is it the macOS doing something with the colors of the boxes?
>> 
>> Related, is there a way of getting the current RGB color of a model (or all models)?
>> 
>> Thanks in advance!
>> 
>> Regards,
>> Daniel
> 
> 
> 
> 
> 
> 
> 
> 
> 
> När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/ 
> 
> E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20201217/a26795a8/attachment.html>


More information about the ChimeraX-users mailing list