a={00,80,FF}eval echo $a$a$a|fmt -w9|sed '16iC0C0C0/F0*8\|80*F/d'
Standard input is empty
000000 000080 0000FF 008000 008080 00FF00 00FFFF 800000 800080 808000 808080 C0C0C0 FF0000 FF00FF FFFF00 FFFFFF
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!