<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wikiti.brandonw.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=84PCSE%3ABCALLs%3A5626</id>
		<title>84PCSE:BCALLs:5626 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikiti.brandonw.net/index.php?action=history&amp;feed=atom&amp;title=84PCSE%3ABCALLs%3A5626"/>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:5626&amp;action=history"/>
		<updated>2026-04-21T08:17:48Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.5</generator>

	<entry>
		<id>https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:5626&amp;diff=10176&amp;oldid=prev</id>
		<title>FloppusMaximus: GetColorValue</title>
		<link rel="alternate" type="text/html" href="https://wikiti.brandonw.net/index.php?title=84PCSE:BCALLs:5626&amp;diff=10176&amp;oldid=prev"/>
				<updated>2013-10-20T02:06:56Z</updated>
		
		<summary type="html">&lt;p&gt;GetColorValue&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:84PCSE:BCALLs:By Name|GetColorValue]] [[Category:84PCSE:BCALLs:By Name:Drawing|GetColorValue]] [[Category:84PCSE:BCALLs:By Address|5626 - GetColorValue]]&lt;br /&gt;
== Synopsis ==&lt;br /&gt;
'''Unofficial Name:''' GetColorValue&lt;br /&gt;
&lt;br /&gt;
'''BCALL Address:''' 5626h&lt;br /&gt;
&lt;br /&gt;
Look up the RGB value for one of the 15 standard colors in the graphing color palette.&lt;br /&gt;
&lt;br /&gt;
=== Inputs ===&lt;br /&gt;
* A = color index (1 to 15)&lt;br /&gt;
&lt;br /&gt;
=== Outputs ===&lt;br /&gt;
* DE = color value (RGB-565)&lt;br /&gt;
&lt;br /&gt;
=== Destroys ===&lt;br /&gt;
* F&lt;br /&gt;
&lt;br /&gt;
== Comments ==&lt;br /&gt;
The palette used by this routine is as follows:&lt;br /&gt;
{| style=&amp;quot;border-spacing: 0.5em 0.25em&amp;quot;&lt;br /&gt;
! Index !! Value !! R  !! G  !! B  !! Name&lt;br /&gt;
|-&lt;br /&gt;
|     1 ||  001F ||  0 ||  0 || 31 || Blue&lt;br /&gt;
|-&lt;br /&gt;
|     2 ||  F800 || 31 ||  0 ||  0 || Red&lt;br /&gt;
|-&lt;br /&gt;
|     3 ||  0000 ||  0 ||  0 ||  0 || Black&lt;br /&gt;
|-&lt;br /&gt;
|     4 ||  F81F || 31 ||  0 || 31 || Magenta&lt;br /&gt;
|-&lt;br /&gt;
|     5 ||  04E0 ||  0 || 39 ||  0 || Green&lt;br /&gt;
|-&lt;br /&gt;
|     6 ||  FC64 || 31 || 35 ||  4 || Orange&lt;br /&gt;
|-&lt;br /&gt;
|     7 ||  B100 || 22 ||  8 ||  0 || Brown&lt;br /&gt;
|-&lt;br /&gt;
|     8 ||  0010 ||  0 ||  0 || 16 || Navy&lt;br /&gt;
|-&lt;br /&gt;
|     9 ||  049F ||  0 || 36 || 31 || Light Blue&lt;br /&gt;
|-&lt;br /&gt;
|    10 ||  FFE0 || 31 || 63 ||  0 || Yellow&lt;br /&gt;
|-&lt;br /&gt;
|    11 ||  FFFF || 31 || 63 || 31 || White&lt;br /&gt;
|-&lt;br /&gt;
|    12 ||  E71C || 28 || 56 || 28 || Light Gray&lt;br /&gt;
|-&lt;br /&gt;
|    13 ||  C618 || 24 || 48 || 24 || Medium Gray&lt;br /&gt;
|-&lt;br /&gt;
|    14 ||  8C51 || 17 || 34 || 17 || Gray&lt;br /&gt;
|-&lt;br /&gt;
|    15 ||  52AA || 10 || 21 || 10 || Dark Gray&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A = 0 (which, in the graph buffer, represents a &amp;quot;transparent&amp;quot; pixel) also returns white.  Values of A greater than 15 will return garbage.&lt;/div&gt;</summary>
		<author><name>FloppusMaximus</name></author>	</entry>

	</feed>