<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=Color.toList</id>
	<title>Color.toList - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://miniscript.org/w/index.php?action=history&amp;feed=atom&amp;title=Color.toList"/>
	<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Color.toList&amp;action=history"/>
	<updated>2026-04-13T00:06:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://miniscript.org/w/index.php?title=Color.toList&amp;diff=743&amp;oldid=prev</id>
		<title>JoeStrout: Created page with &quot;&lt;c&gt;color.toList&lt;/c&gt; converts a color in standard string form to a list of four numbers: red, green, blue, and alpha, all in the range 0-255.  See also: color.fromList...&quot;</title>
		<link rel="alternate" type="text/html" href="http://miniscript.org/w/index.php?title=Color.toList&amp;diff=743&amp;oldid=prev"/>
		<updated>2021-07-11T03:32:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;c&amp;gt;&lt;a href=&quot;/wiki/Color&quot; title=&quot;Color&quot;&gt;color&lt;/a&gt;.toList&amp;lt;/c&amp;gt; converts a color in standard string form to a list of four numbers: red, green, blue, and alpha, all in the range 0-255.  See also: &lt;a href=&quot;/wiki/Color.fromList&quot; title=&quot;Color.fromList&quot;&gt;color.fromList&lt;/a&gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;c&amp;gt;[[color]].toList&amp;lt;/c&amp;gt; converts a color in standard string form to a list of four numbers: red, green, blue, and alpha, all in the range 0-255.&lt;br /&gt;
&lt;br /&gt;
See also: [[color.fromList]]&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter Name !! Type !! Default Value !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| ''colorString'' || string || null || string in standard color form&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
=== Usage Notes ===&lt;br /&gt;
All methods and colors in the Mini Micro API, except this one, represent colors as hexadecimal strings, e.g. &amp;lt;c&amp;gt;&amp;quot;#FF8080C8&amp;quot;&amp;lt;/c&amp;gt;.  However, sometimes it is convenient to represent a color as a list of numbers, so for example you can do math with them.  In such cases, you can use &amp;lt;c&amp;gt;color.toList&amp;lt;/c&amp;gt; to convert to list form, then later use &amp;lt;c&amp;gt;[[color.fromList]]&amp;lt;/c&amp;gt; to convert back into standard color form.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ms&amp;gt;print color.toList(color.brown)&amp;lt;/ms&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above prints &amp;lt;c&amp;gt;[153, 102, 51, 255]&amp;lt;/c&amp;gt;, representing the color brown.  The red value is 153, green is 102, blue is 51, and the alpha value is 255 (fully opaque).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Mini Micro]]&lt;/div&gt;</summary>
		<author><name>JoeStrout</name></author>
		
	</entry>
</feed>