ppmrainbow

Generate a rainbow. More information: <https://netpbm.sourceforge.net/doc/ppmrainbow.html>.

Install

All systems
curl cmd.cat/ppmrainbow.sh
Debian Debian
apt-get install netpbm
Ubuntu
apt-get install netpbm
Arch Arch Linux
pacman -S netpbm
image/svg+xml Kali Linux
apt-get install netpbm
CentOS
yum install netpbm-progs
Fedora
dnf install netpbm-progs
Windows (WSL2)
sudo apt-get update sudo apt-get install netpbm
OS X
brew install netpbm
Raspbian
apt-get install netpbm

Generate a rainbow. More information: <https://netpbm.sourceforge.net/doc/ppmrainbow.html>.

  • Generate a rainbow consisting of the specified colors:
    ppmrainbow color1 color2 ... > path/to/output_file.ppm
  • Specify the size of the output in pixels:
    ppmrainbow -width width -height height color1 color2 ... > path/to/output_file.ppm
  • End the rainbow with the last color specified, do not repeat the first color:
    ppmrainbow -norepeat color1 color2 ... > path/to/output_file.ppm

© tl;dr; authors and contributors