[Chimera-users] Matching RGB color code from Adobe Illustrator

Elaine Meng meng at cgl.ucsf.edu
Tue Mar 30 09:42:49 PDT 2010

Hello Ajith,
You would just divide by 255 to get the equivalent value in the 0-1  
range.  If you are using Chimera 1.5 (daily builds), the Color Editor  
will do the conversion for you:  if you type in a value greater than 1  
but no greater than 255 for a color component and press return, it  
will automatically be divided by 255:

The Color Editor is opened by clicking any of the square color wells  
that appear in several Chimera dialogs, and is also listed in the menu  
under Tools... Utilities.
I hope this helps,
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco

On Mar 30, 2010, at 3:20 AM, Ajith Harish wrote:

> Hello,
> I would like to color different regions of a molecule corresponding  
> to RGB colors from Adobe Illustrator. Chimera RGB ranges from 0.000  
> to 1.000 where as the Illustrator RGB ranges from 0 to 255. Could  
> you please let me know how these two scales are related?
> Thank you very much,
> Ajith

More information about the Chimera-users mailing list