Difference between revisions of "Colors"

From Jmol
Jump to navigation Jump to search
(isotope colors)
(redirect broken link and remove old comments)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
=== Default colors used by Jmol ===
 
=== Default colors used by Jmol ===
  
Several users have asked about a guide to colors used by Jmol by default.
+
[http://jmol.sourceforge.net/jscolors/ Documentation on colors in Jmol].
 
 
This documentation is now available on Jmol website [http://www.jmol.org/jscolors/index.en.html here].
 
Suggestions are welcome for future improvements, via jmol-users mailing list.
 
 
 
The plan is:
 
* colors for atoms (by element) --done
 
* colors for chains --done
 
* colors for groups / residues --done
 
* alternative color patterns: Jmol, Rasmol, DRuMS --partly done
 
* anything else?
 
  
 
==== Support for isotopes ====
 
==== Support for isotopes ====
Line 18: Line 8:
 
Common isotopes are recognized by Jmol and colored slightly lighter or darker than the element color:
 
Common isotopes are recognized by Jmol and colored slightly lighter or darker than the element color:
  
:<sup>2</sup>H = D = deuterium = [xFFFFC0]
+
{|
:<sup>3</sup>H = T = tritium = [xFFFFA0]
+
|-
:<sup>11</sup>C = [xD8D8D8] (added on 29 Nov. 2007)
+
! isotope !! color !! color code !! script syntax !! proposed color
:<sup>13</sup>C = [x505050]
+
|-
:<sup>14</sup>C = [x404040]
+
|'''<sup>1</sup>H'''
:<sup>15</sup>N = [x105050]
+
||<div style="background-color:#FFFFFF;width:50px;border:1px solid gray;">&nbsp;</div>
 +
|| [xFFFFFF] || _1H
 +
|-
 +
|<sup>2</sup>H  
 +
||<div style="background-color:#FFFFC0;width:50px;">&nbsp;</div>
 +
|| [xFFFFC0] || _2H, _D, deuterium
 +
|-
 +
|<sup>3</sup>H  
 +
||<div style="background-color:#FFFFA0;width:50px;">&nbsp;</div>
 +
|| [xFFFFA0] || _3H, _T, tritium
 +
|-
 +
|<sup>11</sup>C
 +
||<div style="background-color:#D8D8D8;width:50px;">&nbsp;</div>
 +
|| [xD8D8D8] || _11C
 +
||<div style="background-color:#C0C0C0;width:50px;">new</div>
 +
|-
 +
|'''<sup>12</sup>C'''
 +
||<div style="background-color:#909090;width:50px;">&nbsp;</div>
 +
|| [x909090] || _12C
 +
||<div style="background-color:#909090;width:50px;">same</div>
 +
|-
 +
|<sup>13</sup>C  
 +
||<div style="background-color:#505050;width:50px;">&nbsp;</div>
 +
|| [x505050] || _13C
 +
||<div style="background-color:#686868;width:50px;color:white;">new</div>
 +
|-
 +
|<sup>14</sup>C  
 +
||<div style="background-color:#404040;width:50px;">&nbsp;</div>
 +
|| [x404040] || _14C
 +
||<div style="background-color:#404040;width:50px;color:white;">same</div>
 +
|-
 +
|'''<sup>14</sup>N'''
 +
||<div style="background-color:#3050F8;width:50px;">&nbsp;</div>
 +
|| [x3050F8] || _14N
 +
||<div style="background-color:#3050F8;width:50px;color:white;">same</div>
 +
|-
 +
|<sup>15</sup>N  
 +
||<div style="background-color:#105050;width:50px;">&nbsp;</div>
 +
|| [x105050] || _15N
 +
||<div style="background-color:#2137AA;width:50px;color:white;">new</div>
 +
|}

Latest revision as of 16:47, 10 August 2021

Jmol + JSmol Documentation

Default colors used by Jmol

Documentation on colors in Jmol.

Support for isotopes

Common isotopes are recognized by Jmol and colored slightly lighter or darker than the element color:

isotope color color code script syntax proposed color
1H
 
[xFFFFFF] _1H
2H
 
[xFFFFC0] _2H, _D, deuterium
3H
 
[xFFFFA0] _3H, _T, tritium
11C
 
[xD8D8D8] _11C
new
12C
 
[x909090] _12C
same
13C
 
[x505050] _13C
new
14C
 
[x404040] _14C
same
14N
 
[x3050F8] _14N
same
15N
 
[x105050] _15N
new