commands.sh

ppmrainbow

all

Generate a rainbow.

More info →

Options (3)

-wboolean

Specify the size of the output in pixels

Example: ppmrainbow {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{color1 color2 ...}} > {{path/to/output_file.ppm}}
-hboolean

Specify the size of the output in pixels

Example: ppmrainbow {{[-w|-width]}} {{width}} {{[-h|-height]}} {{height}} {{color1 color2 ...}} > {{path/to/output_file.ppm}}
-nboolean

End the rainbow with the last color specified, do not repeat the first color

Example: ppmrainbow {{[-n|-norepeat]}} {{color1 color2 ...}} > {{path/to/output_file.ppm}}

Examples (3)

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 [-w|-width] width [-h|-height] height color1 color2 ... > path/to/output_file.ppm

End the rainbow with the last color specified, do not repeat the first color

ppmrainbow [-n|-norepeat] color1 color2 ... > path/to/output_file.ppm
made by @shridhargupta | data from tldr-pages