.TH ppmgrad 1 "5 April 1994"
.IX ppmgrad
.SH NAME
ppmgrad - blends one or more colors along a vertical scale.
.SH SYNOPSIS
.B ppmgrad
.I [-sin] width height color1 ... [color10]
.SH DESCRIPTION
Produces a portable pixmap of the specified width, height, with a gradient blending one color into the next.  A maximum of ten colors can be specified.  By default, blending is done along a linear ramp.  The 
.B -sin
option blends colors along a sinusoidal ramp.
.IX "generating pixmaps"
.PP
The colors can be specified in five ways:
.IX "specifying colors"
.TP 
o
A name, assuming
that a pointer to an X11-style color names file was compiled in.
.TP 
o
An X11-style hexadecimal specifier: rgb:r/g/b, where r g and b are
each 1- to 4-digit hexadecimal numbers.
.TP 
o
An X11-style decimal specifier: rgbi:r/g/b, where r g and b are
floating point numbers between 0 and 1.
.TP 
o
For backwards compatibility, an old-X11-style hexadecimal
number: #rgb, #rrggbb, #rrrgggbbb, or #rrrrggggbbbb.
.TP 
o
For backwards compatibility, a triplet of numbers
separated by commas: r,g,b, where r g and b are
floating point numbers between 0 and 1.
(This style was added before MIT came up with the similar rgbi style.)
.SH "SEE ALSO"
ppm(5), ppmmake(1)
.SH AUTHOR
Copyright (C) 1994 by Gerald Combs.
.\" Permission to use, copy, modify, and distribute this software and its
.\" documentation for any purpose and without fee is hereby granted, provided
.\" that the above copyright notice appear in all copies and that both that
.\" copyright notice and this permission notice appear in supporting
.\" documentation.  This software is provided "as is" without express or
.\" implied warranty.
