Nathan,

See the help file on the funciton palette()

?palette

For example, for windows, you can do this ...

windows()
palette(c("#000000", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2",
"#D55E00", "#CC79A7", "#FFFFFF"))
plot(1:9, 1:9, pch=16, cex=8, col=1:9)

Jean



On Mon, May 13, 2013 at 12:41 PM, Nathan Barber - NOAA Federal <
nathan.barber@noaa.gov> wrote:

> I am trying to create my own color pallet, consisting of 18 hexadecimal
> colors.  I'm having trouble figuring out what to use to define/display
> them.  ColorRampPallet can only take 3 colors so I was hoping to somehow
> create a palette then point to that pallet.  Any suggestions?  Thanks
>
> --
> Nathan Barber
> Hydrologist
> NOAA National Weather Service
> Ohio River Forecast Center <http://www.erh.noaa.gov/ohrfc/>
> 1901 S State Rt 134
> Wilmington, OH  45177
> (937) 383-0528
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

