Help:Color Keys: Difference between revisions

From Proteopedia
Jump to navigation Jump to search
Eric Martz (talk | contribs)
adding content
Eric Martz (talk | contribs)
→‎Coloring Text: adding content
Line 35: Line 35:
<br><nowiki>
<br><nowiki>
<center><big><b><font color='red'>Red</font> and <font color='green'>Green</font></b></big></center>
<center><big><b><font color='red'>Red</font> and <font color='green'>Green</font></b></big></center>
</nowiki>
The above example uses color names ''red'' and ''green''. For more exotic colors, you can use Red-Green-Blue hexadecimal codes instead of color names. An extensive list of such codes is on the [http://jmol.sourceforge.net/jscolors/index.en.html Jmol Colors] page. For example,
<center><big><b><font color='#cc80ff'>Lithium</font> and <font color='#c88033'>Copper</font></b></big></center>
can be produced with
<br><nowiki>
<center><big><b><font color='#cc80ff'>Lithium</font> and <font color='#c88033'>Copper</font></b></big></center>
<wiki>
<wiki>

Revision as of 01:10, 24 September 2008

Color KeysColor Keys

A molecular scene usually communicates best when a color key is provided. It is planned that a future version of Proteopedia will provide a mechanism to place a color key in the legend or caption beneath the molecular scene in Jmol (see Proteopedia:Wishlist), but this is not yet available. At present, you can put colored text or an image in the wikitext of your page.

Color Key TemplatesColor Key Templates

Templates are available to make it easy to insert a color key for some of the standard color schemes that are available on buttons under the Colors tab in the Scene Authoring Tool. How to insert a color key template into wikitext is is explained on the page about the DRuMS Standard Color Schemes, where you will also see examples of color keys as colored wikitext. Also, you can view the source of this page to see how it is done.

The following templates for color keys are currently available:

  • Composition color key (See DRuMS for how to use Templates).

Protein DNA RNA Ligand Solvent

  • Amino to Carboxy Rainbow (N->C Rainbow) color key
N               C

If you would like help setting up a Template in Proteopedia for a color key not yet available, please contact .

Coloring TextColoring Text

If one of the templates above does not provide what you need, you can color text using HTML. For example, to produce

Red and Green

enter the following in the wikitext box:
<center><big><b><font color='red'>Red</font> and <font color='green'>Green</font></b></big></center>

The above example uses color names red and green. For more exotic colors, you can use Red-Green-Blue hexadecimal codes instead of color names. An extensive list of such codes is on the Jmol Colors page. For example,

Lithium and Copper

can be produced with
<nowiki>

Lithium and Copper

<wiki>

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Eric Martz