function colormap for i in (seq 0 255) printf "%b%03d%b " (set_color -b $i) $i (set_color normal) if test (math $i % 6) -eq 3 echo end end end