cycle through a 256 colour palette

$ yes "$(seq 1 255)" | while read i; do printf "\x1b[48;5;${i}m\n";
sleep .01; done

Rainbow, instead of greys

If you want black and grey only, try this,

$ yes "$(seq 232 255;seq 254 -1 233)" | while read i; do printf
"\x1b[48;5;${i}m\n"; sleep .01; done

just for fun

 :-)



-- 
Regards,
Tha.Suresh
http://thasulinux.wordpress.com

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to