<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Ribbon_color</id>
	<title>Ribbon color - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Ribbon_color"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ribbon_color&amp;action=history"/>
	<updated>2026-04-05T16:10:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ribbon_color&amp;diff=9493&amp;oldid=prev</id>
		<title>Bell: 7 revisions</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ribbon_color&amp;diff=9493&amp;oldid=prev"/>
		<updated>2014-03-28T03:49:16Z</updated>

		<summary type="html">&lt;p&gt;7 revisions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Overview==&lt;br /&gt;
[[Ribbon_color]] allows one to explicitly state the color to be applied to a ribbon object.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# set it to a color&lt;br /&gt;
set ribbon_color, color&lt;br /&gt;
&lt;br /&gt;
# examples:&lt;br /&gt;
# default auto-cycles the color for each new object&lt;br /&gt;
set ribbon_color, marine&lt;br /&gt;
&lt;br /&gt;
# apply green to the ribbon only for object obj01&lt;br /&gt;
set ribbon_color, green /obj01&lt;br /&gt;
&lt;br /&gt;
# apply orange to the ribbon only for chain B of object obj01; NB: not fully enabled until version 1.0&lt;br /&gt;
set ribbon_color, orange /obj01//B&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:ribbon_color_green.png|ribbon_color green&lt;br /&gt;
Image:ribbon_color_marine.png|ribbon_color marine&lt;br /&gt;
Image:ribbon_color_chains.png|two chains in same object with different colors&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Advanced details==&lt;br /&gt;
Some notes on general [[Set]] syntax (From PyMOL &amp;quot;help set&amp;quot;):&lt;br /&gt;
 &lt;br /&gt;
DESCRIPTION&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;set&amp;quot; changes one of the PyMOL state variables,&lt;br /&gt;
 &lt;br /&gt;
USAGE&lt;br /&gt;
 &lt;br /&gt;
   set name, [,value [,object-or-selection [,state ]]]&lt;br /&gt;
 &lt;br /&gt;
   set name = value  # (DEPRECATED)&lt;br /&gt;
 &lt;br /&gt;
PYMOL API&lt;br /&gt;
 &lt;br /&gt;
   cmd.set ( string name, string value=1,&lt;br /&gt;
             string selection='', int state=0,&lt;br /&gt;
              int updates=1, quiet=1)&lt;br /&gt;
 &lt;br /&gt;
NOTES&lt;br /&gt;
 &lt;br /&gt;
   The default behavior (with a blank selection) changes the global&lt;br /&gt;
   settings database.  If the selection is 'all', then the settings&lt;br /&gt;
   database in all individual objects will be changed.  Likewise, for&lt;br /&gt;
   a given object, if state is zero, then the object database will be&lt;br /&gt;
   modified.  Otherwise, the settings database for the indicated state&lt;br /&gt;
   within the object will be modified.&lt;br /&gt;
 &lt;br /&gt;
   If a selection is provided, then all objects in the selection will&lt;br /&gt;
   be affected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Settings|Ribbon color]]&lt;br /&gt;
[[Category:Coloring]]&lt;br /&gt;
[[Category:States]]&lt;/div&gt;</summary>
		<author><name>Bell</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ribbon_color&amp;diff=9488&amp;oldid=prev</id>
		<title>Tstout at 22:09, 17 September 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ribbon_color&amp;diff=9488&amp;oldid=prev"/>
		<updated>2006-09-17T22:09:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:09, 17 September 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot; &gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Image:ribbon_color_green.png|ribbon_color green&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Image:ribbon_color_green.png|ribbon_color green&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Image:ribbon_color_marine.png|ribbon_color marine&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Image:ribbon_color_marine.png|ribbon_color marine&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Image:ribbon_color_chains.png|two chains in same object with different colors&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tstout</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ribbon_color&amp;diff=9487&amp;oldid=prev</id>
		<title>Tstout at 21:51, 17 September 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ribbon_color&amp;diff=9487&amp;oldid=prev"/>
		<updated>2006-09-17T21:51:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:51, 17 September 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot; &gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set ribbon_color, green /obj01     (apply green to the ribbon only for object obj01)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set ribbon_color, green /obj01     (apply green to the ribbon only for object obj01)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set ribbon_color, orange /obj01//B (apply orange to the ribbon only for chain B of object obj01)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;set ribbon_color, orange /obj01//B (apply orange to the ribbon only for chain B of object obj01&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;; NB: not fully enabled until version 1.0&lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Examples==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Examples==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tstout</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Ribbon_color&amp;diff=9486&amp;oldid=prev</id>
		<title>Tstout at 17:31, 16 September 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Ribbon_color&amp;diff=9486&amp;oldid=prev"/>
		<updated>2006-09-16T17:31:37Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
ribbon_color allows one to explicitly state the color to be applied to a ribbon object.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&lt;br /&gt;
set ribbon_color, marine           (default auto-cycles the color for each new object)&lt;br /&gt;
&lt;br /&gt;
set ribbon_color, green /obj01     (apply green to the ribbon only for object obj01)&lt;br /&gt;
&lt;br /&gt;
set ribbon_color, orange /obj01//B (apply orange to the ribbon only for chain B of object obj01)&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:ribbon_color_green.png|ribbon_color green&lt;br /&gt;
Image:ribbon_color_marine.png|ribbon_color marine&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Advanced details==&lt;br /&gt;
&lt;br /&gt;
Some notes on general &amp;quot;set&amp;quot; syntax (From PyMOL &amp;quot;help set&amp;quot;):&lt;br /&gt;
 &lt;br /&gt;
DESCRIPTION&lt;br /&gt;
 &lt;br /&gt;
   &amp;quot;set&amp;quot; changes one of the PyMOL state variables,&lt;br /&gt;
 &lt;br /&gt;
USAGE&lt;br /&gt;
 &lt;br /&gt;
   set name, [,value [,object-or-selection [,state ]]]&lt;br /&gt;
 &lt;br /&gt;
   set name = value  # (DEPRECATED)&lt;br /&gt;
 &lt;br /&gt;
PYMOL API&lt;br /&gt;
 &lt;br /&gt;
   cmd.set ( string name, string value=1,&lt;br /&gt;
             string selection='', int state=0,&lt;br /&gt;
              int updates=1, quiet=1)&lt;br /&gt;
 &lt;br /&gt;
NOTES&lt;br /&gt;
 &lt;br /&gt;
   The default behavior (with a blank selection) changes the global&lt;br /&gt;
   settings database.  If the selection is 'all', then the settings&lt;br /&gt;
   database in all individual objects will be changed.  Likewise, for&lt;br /&gt;
   a given object, if state is zero, then the object database will be&lt;br /&gt;
   modified.  Otherwise, the settings database for the indicated state&lt;br /&gt;
   within the object will be modified.&lt;br /&gt;
 &lt;br /&gt;
   If a selection is provided, then all objects in the selection will&lt;br /&gt;
   be affected.&lt;/div&gt;</summary>
		<author><name>Tstout</name></author>
	</entry>
</feed>