<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl">
	<id>https://wiki.idzie.xn--t-wha.xn--drog-eta.pl/index.php?action=history&amp;feed=atom&amp;title=Modu%C5%82%3AColor_contrast%2Fopis</id>
	<title>Moduł:Color contrast/opis - Historia wersji</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.idzie.xn--t-wha.xn--drog-eta.pl/index.php?action=history&amp;feed=atom&amp;title=Modu%C5%82%3AColor_contrast%2Fopis"/>
	<link rel="alternate" type="text/html" href="https://wiki.idzie.xn--t-wha.xn--drog-eta.pl/index.php?title=Modu%C5%82:Color_contrast/opis&amp;action=history"/>
	<updated>2026-07-10T13:25:48Z</updated>
	<subtitle>Historia wersji tej strony wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.idzie.xn--t-wha.xn--drog-eta.pl/index.php?title=Modu%C5%82:Color_contrast/opis&amp;diff=471&amp;oldid=prev</id>
		<title>Żółty Kapłan: 1 wersja</title>
		<link rel="alternate" type="text/html" href="https://wiki.idzie.xn--t-wha.xn--drog-eta.pl/index.php?title=Modu%C5%82:Color_contrast/opis&amp;diff=471&amp;oldid=prev"/>
		<updated>2025-12-07T20:56:21Z</updated>

		<summary type="html">&lt;p&gt;1 wersja&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;pl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← poprzednia wersja&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Wersja z 22:56, 7 gru 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;pl&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Brak różnic)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki_droga:diff:1.41:old-470:rev-471 --&gt;
&lt;/table&gt;</summary>
		<author><name>Żółty Kapłan</name></author>
	</entry>
	<entry>
		<id>https://wiki.idzie.xn--t-wha.xn--drog-eta.pl/index.php?title=Modu%C5%82:Color_contrast/opis&amp;diff=470&amp;oldid=prev</id>
		<title>wpl&gt;Nux: źródło (atrybucja) i opis</title>
		<link rel="alternate" type="text/html" href="https://wiki.idzie.xn--t-wha.xn--drog-eta.pl/index.php?title=Modu%C5%82:Color_contrast/opis&amp;diff=470&amp;oldid=prev"/>
		<updated>2025-02-18T01:00:53Z</updated>

		<summary type="html">&lt;p&gt;źródło (atrybucja) i opis&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nowa strona&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Podstrona dokumentacji}}&lt;br /&gt;
&amp;lt;!-- DODAWAJ KATEGORIE NA DOLE STRONY --&amp;gt;&lt;br /&gt;
== Użycie ==&lt;br /&gt;
&lt;br /&gt;
Moduł do operacji na kolorach, głównie związanych z kontrastem.&lt;br /&gt;
&lt;br /&gt;
* Obliczanie względnej luminancji (jasności dla oka ludzkiego):&lt;br /&gt;
*:&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{#invoke:Color contrast|lum|color}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Obliczenie współczynnika kontrastu między dwoma kolorami:&lt;br /&gt;
*:&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{#invoke:Color contrast|ratio|color1|color2|error=?}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;#000|#fff&amp;lt;/code&amp;gt;: {{#invoke:Color contrast|ratio|#000|#fff|error=?}}&lt;br /&gt;
**&amp;lt;code&amp;gt;#000|#000&amp;lt;/code&amp;gt;: {{#invoke:Color contrast|ratio|#000|#000|error=?}}&lt;br /&gt;
**&amp;lt;code&amp;gt;#000|#ccc&amp;lt;/code&amp;gt;: {{#invoke:Color contrast|ratio|#000|#ccc|error=?}}&lt;br /&gt;
**&amp;lt;code&amp;gt;#ccc|#000&amp;lt;/code&amp;gt;: {{#invoke:Color contrast|ratio|#ccc|#000|error=?}}&lt;br /&gt;
* Dla bazowego koloru (base) podaj ten, który jest z nim bardziej kontrastowy (color1, color2):&lt;br /&gt;
*:&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{#invoke:Color contrast|greatercontrast|base|color1|color2}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* Aby dla danego koloru tła (base) wybrać najlepszy kolor tekstu (color1, color2) można użyć &amp;lt;code&amp;gt;css=tak&amp;lt;/code&amp;gt;:&lt;br /&gt;
*:&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{#invoke:Color contrast|greatercontrast|base|color1|color2|css=tak}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;#ff0 |#000|#fff&amp;lt;/code&amp;gt;: {{#invoke:Color contrast|greatercontrast|#ff0|#000|#fff|css=tak}}&lt;br /&gt;
* Domyślnie &amp;lt;code&amp;gt;color1|color2&amp;lt;/code&amp;gt;, to właśnie czarny i biały (&amp;lt;code&amp;gt;#000|#fff&amp;lt;/code&amp;gt;), więc można je pominąć:&lt;br /&gt;
*:&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{#invoke:Color contrast|greatercontrast|base|css=tak}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;#f00&amp;lt;/code&amp;gt;: {{#invoke:Color contrast|greatercontrast|#f00|css=tak}}&lt;br /&gt;
**&amp;lt;code&amp;gt;#000&amp;lt;/code&amp;gt;: {{#invoke:Color contrast|greatercontrast|#000|css=tak}}&lt;br /&gt;
* Aby obliczyć współczynnik kontrastu pomiędzy kolorami tła i tekstu określonymi tak jak w atrybutach &amp;lt;code&amp;gt;style&amp;lt;/code&amp;gt;:&lt;br /&gt;
*:&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{#invoke:Color contrast|styleratio|css style statement string|default background color|default text color}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Źródło ==&lt;br /&gt;
Moduł stworzy przez:&lt;br /&gt;
* [[:en:User:Frietjes]]&lt;br /&gt;
* [[:en:Mr. Stradivarius]]&lt;br /&gt;
* [[:en:Kephir]]&lt;br /&gt;
&lt;br /&gt;
Ostatnia aktualizacja/synchronizacja: https://en.wikipedia.org/w/index.php?title=Module:Color_contrast&amp;amp;oldid=877152614&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&amp;lt;!--&lt;br /&gt;
++++ DODAWAJ KATEGORIE PONIŻEJ TEJ LINII --&amp;gt;&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wpl&gt;Nux</name></author>
	</entry>
</feed>