<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=ColorValue</id>
	<title>ColorValue - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=ColorValue"/>
	<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=ColorValue&amp;action=history"/>
	<updated>2026-11-17T13:17:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.gideros.rocks/index.php?title=ColorValue&amp;diff=23925&amp;oldid=prev</id>
		<title>MoKaLux: Created page with &quot;__NOTOC__ &#039;&#039;&#039;Available since:&#039;&#039;&#039; Gideros 2024.11&lt;br/&gt; &#039;&#039;&#039;Class:&#039;&#039;&#039; (global)&lt;br/&gt;  === Description === This function sets a Color its &#039;&#039;r&#039;&#039;,&#039;&#039;g&#039;&#039;,&#039;&#039;b&#039;&#039;,&#039;&#039;a&#039;&#039; channel values...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=ColorValue&amp;diff=23925&amp;oldid=prev"/>
		<updated>2024-11-06T21:53:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ &amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2024.11&amp;lt;br/&amp;gt; &amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; &lt;a href=&quot;/index.php/(global)&quot; title=&quot;(global)&quot;&gt;(global)&lt;/a&gt;&amp;lt;br/&amp;gt;  === Description === This function sets a Color its &amp;#039;&amp;#039;r&amp;#039;&amp;#039;,&amp;#039;&amp;#039;g&amp;#039;&amp;#039;,&amp;#039;&amp;#039;b&amp;#039;&amp;#039;,&amp;#039;&amp;#039;a&amp;#039;&amp;#039; channel values...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2024.11&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; [[(global)]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
This function sets a Color its &amp;#039;&amp;#039;r&amp;#039;&amp;#039;,&amp;#039;&amp;#039;g&amp;#039;&amp;#039;,&amp;#039;&amp;#039;b&amp;#039;&amp;#039;,&amp;#039;&amp;#039;a&amp;#039;&amp;#039; channel values.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
r,g,b,a = ColorValue(r,g,b,a)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;r&amp;#039;&amp;#039;&amp;#039;: (number) the red channel value between 0 and 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;g&amp;#039;&amp;#039;&amp;#039;: (number) the green channel value between 0 and 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;b&amp;#039;&amp;#039;&amp;#039;: (number) the blue channel value between 0 and 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;a&amp;#039;&amp;#039;&amp;#039;: (number) the alpha channel value between 0 and 1 &amp;#039;&amp;#039;&amp;#039;Optional&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;default = 1&amp;#039;&amp;#039;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Return values ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&amp;#039; (number) color red channel between 0 and 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&amp;#039; (number) color green channel between 0 and 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&amp;#039; (number) color blue channel between 0 and 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns&amp;#039;&amp;#039;&amp;#039; (number) color alpha channel between 0 and 1&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
textfield:setTextColor(ColorValue(1, 0, 1, 1)) -- Gideros 2024.11+&lt;br /&gt;
print(ColorValue(1, 0, 1, 1)) -- 1, 0, 1, 1&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{(global)}}&lt;/div&gt;</summary>
		<author><name>MoKaLux</name></author>
	</entry>
</feed>