ppmwheel man page

ppmwheel — make a PPM image of a color wheel


ppmwheel diameter


ppmwheel produces a PPM image of a color wheel of the specified diameter inside a white square just large enough to hold it.

The color wheel is based on the HSV color model. Hues are distributed angularly around the circle and the values are distributed radially and the saturation is zero everywhere. The values are zero at the center, increasing linearly to maximum at the edge. The maximum value corresponds to the maxval of the PPM image.

Hence, the image contains all of the secondary colors based on the red, green, and blue primary colors. A secondary color is one that is composed of light of at most two of the three primary colors.

See Also

ppmcie(1) , ppmrainbow(1) , ppm(1)


ppmwheel was added to Netpbm in Release 10.14 (March 2003).


Copyright (C) 1995 by Peter Kirchgessner

Document Source

This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at



Explore man page connections for ppmwheel(1).