<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AShade%2Fbgcolor</id>
	<title>Template:Shade/bgcolor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AShade%2Fbgcolor"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Shade/bgcolor&amp;action=history"/>
	<updated>2026-07-02T00:57:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Shade/bgcolor&amp;diff=19976&amp;oldid=prev</id>
		<title>Richardpruen: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Shade/bgcolor&amp;diff=19976&amp;oldid=prev"/>
		<updated>2021-12-05T15:54:20Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:54, 5 December 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Richardpruen</name></author>
	</entry>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Shade/bgcolor&amp;diff=19975&amp;oldid=prev</id>
		<title>Wikipedia&gt;Ftrebien at 13:44, 21 July 2021</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Shade/bgcolor&amp;diff=19975&amp;oldid=prev"/>
		<updated>2021-07-21T13:44:50Z</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;{{#invoke:BaseConvert|10to16|{{#expr:({{{r|0}}}*{{{a|0}}}+{{{r_bg|255}}}*(1-{{{a|0}}})) round 0}}|precision=0}}{{#invoke:BaseConvert|10to16|{{#expr:({{{g|0}}}*{{{a|0}}}+{{{g_bg|255}}}*(1-{{{a|0}}})) round 0}}|precision=0}}{{#invoke:BaseConvert|10to16|{{#expr:({{{b|0}}}*{{{a|0}}}+{{{b_bg|255}}}*(1-{{{a|0}}})) round 0}}|precision=0}}&amp;lt;noinclude&amp;gt;{{documentation|content=&lt;br /&gt;
Calculates an RGB hex triplet naively blended over a (by default) white background, i.e.&lt;br /&gt;
{{block indent|1=&lt;br /&gt;
&amp;lt;math&amp;gt;C_o = C_a \alpha + C_{bg} (1 - \alpha)&amp;lt;/math&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The visual properties of a naive (nonlinear) sRGB blend is that color blending with greyscales mostly &amp;quot;work&amp;quot; visually.&amp;lt;ref&amp;gt;{{cite web |title=Color gradient algorithm |url=https://stackoverflow.com/questions/22607043/color-gradient-algorithm|access-date=2021-07-21 |website=Stack Overflow}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow:auto&amp;quot;&amp;gt;&lt;br /&gt;
{{Shade/bgcolor&lt;br /&gt;
|r    = &amp;lt;!-- red color component: 0-255 (default=0) --&amp;gt;&lt;br /&gt;
|g    = &amp;lt;!-- green color component: 0-255 (default=0) --&amp;gt;&lt;br /&gt;
|b    = &amp;lt;!-- blue color component: 0-255 (default=0) --&amp;gt;&lt;br /&gt;
|a    = &amp;lt;!-- color transparency factor: 0.0-1.0 (default=0) --&amp;gt;&lt;br /&gt;
|r_bg = &amp;lt;!-- red background color component: 0-255 (default=255) --&amp;gt;&lt;br /&gt;
|g_bg = &amp;lt;!-- green background color component: 0-255 (default=255) --&amp;gt;&lt;br /&gt;
|b_bg = &amp;lt;!-- blue background color component: 0-255 (default=255) --&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
}}&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Ftrebien</name></author>
	</entry>
</feed>