[Jmol-users] hex colors in JSmol

2013-04-18 Thread Pshemak Maslak
Is there a bug in JSmol where it ignores background colors in hex? In the Jmol info JS array, the color property is ignored if the color is in hex (specifying it as black, or white works though), whereas in the (Java) Jmol, the color is set properly. (13.1.15_dev from 2013-04-01). Thanks,

Re: [Jmol-users] hex colors in JSmol

2013-04-18 Thread Robert Hanson
define hex. On Thu, Apr 18, 2013 at 11:57 AM, Pshemak Maslak p...@chem.psu.edu wrote: Is there a bug in JSmol where it ignores background colors in hex? In the Jmol info JS array, the color property is ignored if the color is in hex (specifying it as black, or white works though), whereas

Re: [Jmol-users] hex colors in JSmol

2013-04-18 Thread Pshemak Maslak
On 4/18/2013 1:40 PM, Robert Hanson wrote: define hex. Hexadecimal, for example [xF0F0F0] for gray PM On Thu, Apr 18, 2013 at 11:57 AM, Pshemak Maslak p...@chem.psu.edu mailto:p...@chem.psu.edu wrote: Is there a bug in JSmol where it ignores background colors in hex? In

Re: [Jmol-users] hex colors in JSmol

2013-04-18 Thread Angel Herráez
I may have the same observation as Pshemak. I was using the sort of #0066CC succesfully with previous versions, but in the last update of JSmol a couple days ago I started to get black background instead, which I have attributed to some javascript errors that might the interrupting the script

Re: [Jmol-users] hex colors in JSmol

2013-04-18 Thread Angel Herráez
I can confirm that any of these work in 13.1.12: var Info = { color: '[x09176E]', color: '#09176E', color: '[9, 23, 110]', I cannot check with the latest now. -- Precog is a next-generation

Re: [Jmol-users] hex colors in JSmol

2013-04-18 Thread Robert Hanson
my bad. That was a bug in JSmolCore.js. see http://chemapps.stolaf.edu/jmol/jsmol.zip On Thu, Apr 18, 2013 at 1:18 PM, Angel Herráez angel.herr...@uah.es wrote: I can confirm that any of these work in 13.1.12: var Info = { color: '[x09176E]', color: '#09176E',