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...")
 
 
(One intermediate revision by one other user not shown)
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 15: Line 15:
 
|E=FF
 
|E=FF
 
}}
 
}}
}}</includeonly><noinclude>[[Category:Sonic Retro templates]]
+
}}</includeonly><noinclude>[[Category:Templates]]
  
 
*026 -> {{MDHex2HTMLHex|026}}
 
*026 -> {{MDHex2HTMLHex|026}}
 
*E0A -> {{MDHex2HTMLHex|E0A}}
 
*E0A -> {{MDHex2HTMLHex|E0A}}
 
might need to swap for BGR instead of RGB
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:18, 1 January 2022


  • 026 -> 743400
  • E0A -> AC00FF