Jianghai,

Try dividing all those numbers by 255.0 -- then it will work.

Cheers,
Warren


--
Warren L. DeLano, Ph.D.                     
Principal Scientist

. DeLano Scientific LLC  
. 400 Oyster Point Blvd., Suite 213           
. South San Francisco, CA 94080 USA   
. Biz:(650)-872-0942  Tech:(650)-872-0834     
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:war...@delsci.com      
 

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of 
> Jianghai Zhu
> Sent: Tuesday, June 14, 2005 4:12 PM
> To: 'pymol-users'
> Subject: [PyMOL] background color
> 
> Hi, all,
> 
> I am trying to change the color of the background in pymol.  
> I know I can change the background color from menu to white, 
> black, light grey and grey.  But I want some other color.
> 
> set bg_rgb, [51,153,153]
> 
> or
> 
> set_color newcolor=[51,153,153]
> bg_color newcolor
> 
> but none of them worked.  The background just turned to 
> white.  What did I do wrong?
> 
> Thanks.
> 
> Jianghai
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration 
> Strategies from IBM. Find simple to follow Roadmaps, 
> straightforward articles, informative Webcasts and more! Get 
> everything you need to get up to speed, fast. 
> http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 



Reply via email to