Actions

Template

Difference between revisions of "MDHex2HTMLHex"

From Sonic Retro

(Created page with "<includeonly>{{#loop: pos |0 |3 |{{#switch: {{#sub:{{{1}}}|{{#var:pos}}|1}} |0=00 |2=34 |4=57 |6=74 |8=90 |a |A=AC |c |C=CE |e |E=FF }} }}</includeonly><noinclude>Category:S...")
 
(bgr)
Line 2: Line 2:
 
|0
 
|0
 
|3
 
|3
|{{#switch: {{#sub:{{{1}}}|{{#var:pos}}|1}}
+
|{{#switch: {{#sub:{{{1}}}|{{#switch:{{#var:pos}}|0=2|1=1|2=0}}|1}}
 
|0=00
 
|0=00
 
|2=34
 
|2=34
Line 19: Line 19:
 
*026 -> {{MDHex2HTMLHex|026}}
 
*026 -> {{MDHex2HTMLHex|026}}
 
*E0A -> {{MDHex2HTMLHex|E0A}}
 
*E0A -> {{MDHex2HTMLHex|E0A}}
 
might need to swap for BGR instead of RGB
 
 
</noinclude>
 
</noinclude>

Revision as of 18:01, 18 April 2018


  • 026 -> 743400
  • E0A -> AC00FF