Difference between revisions of "Colors"

From Jmol
Jump to navigation Jump to search
(Support for isotopes)
(demo isotopes color: add natural isotopes)
Line 21: Line 21:
 
|-
 
|-
 
! isotope !! color !! color code !! script syntax
 
! isotope !! color !! color code !! script syntax
 +
|-
 +
|'''<sup>1</sup>H'''
 +
||<div style="background-color:#FFFFFF;width:50px;border:1px solid gray;">&nbsp;</div>
 +
|| [xFFFFFF] || _1H
 
|-
 
|-
 
|<sup>2</sup>H  
 
|<sup>2</sup>H  
Line 33: Line 37:
 
||<div style="background-color:#D8D8D8;width:50px;">&nbsp;</div>
 
||<div style="background-color:#D8D8D8;width:50px;">&nbsp;</div>
 
|| [xD8D8D8] || _11C
 
|| [xD8D8D8] || _11C
 +
|-
 +
|'''<sup>12</sup>C'''
 +
||<div style="background-color:#909090;width:50px;">&nbsp;</div>
 +
|| [x909090] || _12C
 
|-
 
|-
 
|<sup>13</sup>C  
 
|<sup>13</sup>C  
Line 41: Line 49:
 
||<div style="background-color:#404040;width:50px;">&nbsp;</div>
 
||<div style="background-color:#404040;width:50px;">&nbsp;</div>
 
|| [x404040] || _14C
 
|| [x404040] || _14C
 +
|-
 +
|'''<sup>14</sup>N'''
 +
||<div style="background-color:#3050F8;width:50px;">&nbsp;</div>
 +
|| [x3050F8] || _14N
 
|-
 
|-
 
|<sup>15</sup>N  
 
|<sup>15</sup>N  

Revision as of 18:30, 18 April 2009

Jmol + JSmol Documentation

Default colors used by Jmol

Several users have asked about a guide to colors used by Jmol by default.

This documentation is now available on Jmol website 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

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

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