<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AColor%2Fdoc</id>
	<title>Template:Color/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AColor%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Color/doc&amp;action=history"/>
	<updated>2026-04-10T03:37:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Color/doc&amp;diff=9401&amp;oldid=prev</id>
		<title>Wikipedia&gt;Dmoore5556: &quot;700 per second&quot; is confusing and lacks any units</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Color/doc&amp;diff=9401&amp;oldid=prev"/>
		<updated>2022-01-03T04:59:21Z</updated>

		<summary type="html">&lt;p&gt;&amp;quot;700 per second&amp;quot; is confusing and lacks any units&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}} __NOTOC__&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{high-use}}&lt;br /&gt;
{{Warning |&amp;#039;&amp;#039;&amp;#039;Prose text intended for readers should never be manually colored.&amp;#039;&amp;#039;&amp;#039; ([[MOS:PROSECOLOR]])}}&lt;br /&gt;
This template can be used to specify the foreground color of a span of text. Acceptable values are [[RGB color model|RGB]] hex codes, e.g. #C9E72A, or any of the [[web colors]]: red, blue, green, moccasin, darkorchid, etc. To set the background color of a span of text, use {{Template link|background color}}.&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
* {{Template link expanded|color|name of color or hex code of color|Text}}&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
*{{demo inline|&amp;lt;nowiki&amp;gt;{{color|red|Hello, world!}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
*{{demo inline|&amp;lt;nowiki&amp;gt;{{color|#00F000|Hello, world!}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
If the second parameter is omitted, the color value is displayed as text:&lt;br /&gt;
&lt;br /&gt;
*{{demo inline|&amp;lt;nowiki&amp;gt;{{color|#00F000}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
*{{demo inline|&amp;lt;nowiki&amp;gt;{{color|red}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
===Performance considerations===&lt;br /&gt;
The template generates an HTML span tag:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;span style=&amp;quot;color:{{{1}}}&amp;quot;&amp;gt;{{{2}}}&amp;lt;/span&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
It runs at speeds in excess of 700 per second,{{clarify|date=January 2022}} and so is functionally identical to using the HTML markup directly.&lt;br /&gt;
&lt;br /&gt;
===Template data===&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;The color template can be used to add a span of text with any given text color&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Color&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;CSS name of color or hex code of color, e.g. &amp;#039;red&amp;#039; or &amp;#039;#00F000&amp;#039;.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Text&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The string of text to be formatted in the desired color&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Redirects===&lt;br /&gt;
* {{Template link general |COLOR|nolink=on|code=on}}&lt;br /&gt;
* {{Template link general |Colored text|nolink=on|code=on}}&lt;br /&gt;
* {{Template link general |Colour|nolink=on|code=on}}&lt;br /&gt;
* {{Template link general|COLOUR|nolink=on|code=on}}&lt;br /&gt;
* {{Template link general |Fgcolor|nolink=on|code=on}}&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* {{Template link|resize}}&lt;br /&gt;
* {{Template link|colored link}}&lt;br /&gt;
* {{Template link|background color}}&lt;br /&gt;
* {{Template link|font color}} – allows setting both text and background color&lt;br /&gt;
* {{Template link|coltit}} – colored table header cell&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|&lt;br /&gt;
| &amp;lt;!-- CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Text color templates| ]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Dmoore5556</name></author>
	</entry>
</feed>