<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://help.gulfstatesflood.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AColor_contrast%2Fdoc</id>
	<title>Module:Color contrast/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://help.gulfstatesflood.com/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AColor_contrast%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://help.gulfstatesflood.com/mediawiki/index.php?title=Module:Color_contrast/doc&amp;action=history"/>
	<updated>2026-04-06T10:52:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.0</generator>
	<entry>
		<id>https://help.gulfstatesflood.com/mediawiki/index.php?title=Module:Color_contrast/doc&amp;diff=6836&amp;oldid=prev</id>
		<title>WikiAdmin at 14:48, 6 January 2025</title>
		<link rel="alternate" type="text/html" href="https://help.gulfstatesflood.com/mediawiki/index.php?title=Module:Color_contrast/doc&amp;diff=6836&amp;oldid=prev"/>
		<updated>2025-01-06T14:48:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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 07:48, 6 January 2025&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;The formulas used are &lt;/del&gt;[https://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;www&lt;/del&gt;.&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;w3&lt;/del&gt;.org&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/WAI/GL&lt;/del&gt;/wiki/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Relative_luminance#Definition_as_Stated_in_WCAG_2.x stated in WCAG 2.x specifications]. [[WCAG]&lt;/del&gt;] &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is the main guideline for creating accessible interfaces on the web&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&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;Find more details at &lt;/ins&gt;[https://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;en&lt;/ins&gt;.&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;wikipedia&lt;/ins&gt;.org/wiki/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Module:Color_contrast Wikipedia&#039;s Color contrast module&lt;/ins&gt;].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;== Usage ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiAdmin</name></author>
	</entry>
	<entry>
		<id>https://help.gulfstatesflood.com/mediawiki/index.php?title=Module:Color_contrast/doc&amp;diff=6834&amp;oldid=prev</id>
		<title>WikiAdmin: Created page with &quot;The formulas used are [https://www.w3.org/WAI/GL/wiki/Relative_luminance#Definition_as_Stated_in_WCAG_2.x stated in WCAG 2.x specifications]. WCAG is the main guideline for creating accessible interfaces on the web.  == Usage == To use this module, you may use one of the above listed templates or invoke the module directly  * To compute relative luminescence: &lt;br&gt; &lt;code&gt;&lt;nowiki&gt;{{ColorToLum|color}}&lt;/nowiki&gt;&lt;/code&gt; or &lt;code&gt;&lt;nowiki&gt;{{#invoke:Color contrast|lum|color}}...&quot;</title>
		<link rel="alternate" type="text/html" href="https://help.gulfstatesflood.com/mediawiki/index.php?title=Module:Color_contrast/doc&amp;diff=6834&amp;oldid=prev"/>
		<updated>2025-01-06T14:45:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The formulas used are [https://www.w3.org/WAI/GL/wiki/Relative_luminance#Definition_as_Stated_in_WCAG_2.x stated in WCAG 2.x specifications]. &lt;a href=&quot;/mediawiki/index.php?title=WCAG&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WCAG (page does not exist)&quot;&gt;WCAG&lt;/a&gt; is the main guideline for creating accessible interfaces on the web.  == Usage == To use this module, you may use one of the above listed templates or invoke the module directly  * To compute relative luminescence: &amp;lt;br&amp;gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ColorToLum|color}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Color contrast|lum|color}}...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The formulas used are [https://www.w3.org/WAI/GL/wiki/Relative_luminance#Definition_as_Stated_in_WCAG_2.x stated in WCAG 2.x specifications]. [[WCAG]] is the main guideline for creating accessible interfaces on the web.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
To use this module, you may use one of the above listed templates or invoke the module directly&lt;br /&gt;
&lt;br /&gt;
* To compute relative luminescence: &amp;lt;br&amp;gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ColorToLum|color}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Color contrast|lum|color}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* To compute a contrast ratio between two colors: &amp;lt;br&amp;gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Color contrast ratio|color1|color2|error=?}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Color contrast|ratio|color1|color2|error=?}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* To determine which of two colors (color2a and color2b) has the greater contrast ratio with a particular color (color1): &amp;lt;br&amp;gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Greater color contrast ratio|color1|color2a|color2b}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Color contrast|greatercontrast|color1|color2a|color2b}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* To compute the contrast ratio between the background and text colors specified in a css style string: &amp;lt;br&amp;gt; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Color contrast|styleratio|css style statement string|default background color|default text color}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiAdmin</name></author>
	</entry>
</feed>