Rainbow: Difference between revisions

361 bytes added ,  11 months ago
Add Factor
(Add Factor)
Line 96:
<div style="background-color:#F6F6F6;padding:1em;">
<font color="#FF0000">R</font><font color="#FF8000">A</font><font color="#FFFF00">I</font><font color="#00FF00">N</font><font color="#0000FF">B</font><font color="#4B0082">O</font><font color="#8000FF">W</font><br></div>
 
=={{header|Factor}}==
<syntaxhighlight lang="factor">USING: colors grouping hashtables io io.styles qw sequences ui
ui.gadgets.panes ;
 
"RAINBOW" 1 group
qw{ red orange yellow green blue indigo violet } [
[ named-color foreground associate format ] 2each
] make-pane "Rainbow" open-window</syntaxhighlight>
{{out}}
[[File:Factor rainbow.png|center|thumb]]
 
=={{header|Go}}==
1,827

edits