<div dir="ltr"><div>Hi Jonathan,</div><div><br></div><div>I don't fully understand what you are trying to do, and why you might need named colors. So taking a guess here, there is the read_colormap_file() that you can use to read one of the colormaps show in the gallery link, and from that you can directly assign the result to cnFillPalette</div><div><br></div><div><a href="http://ncl.ucar.edu/Document/Functions/Built-in/read_colormap_file.shtml">http://ncl.ucar.edu/Document/Functions/Built-in/read_colormap_file.shtml</a></div><div><br></div><div>HTH...</div><div>Rick</div><div><br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 6, 2021 at 6:54 AM Buzan, Jonathan via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi NCL,<br>
<br>
The predefined colormaps are excellent examples of colors. <br>
However, from my experience, the   gsn_define_colormap(wks, colors)  limits the flexibility of NCL.<br>
<br>
Whereas, the  res@cnFillPalette has flexibility. <br>
<br>
I am attempting to generate a multi paneled plot, and switching the  res@cnFillPalette, but I still want to use the color maps.<br>
<br>
Is there a page that has “named colors” of the color maps? <br>
<a href="https://www.ncl.ucar.edu/Document/Graphics/named_colors.shtml" rel="noreferrer" target="_blank">https://www.ncl.ucar.edu/Document/Graphics/named_colors.shtml</a><br>
This page has example colors, but I find it difficult to reproduce these colormaps:<br>
<a href="https://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml" rel="noreferrer" target="_blank">https://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml</a><br>
<br>
<br>
Cheers,<br>
-Jonathan<br>
<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>