No products in the cart.

Rendering Script Converts Swatches To RGB & CMYK Values Using Adobe Illustrator

Below is a script I came across by John Wundes that creates a visual legend of ALL the swatches in your documents swatch palette.  To run this script, extract the .zip file first, Open Adobe Illustrator and go to FILE > SCRIPTS > OTHER SCRIPT and locate the “renderSwatchLegend.jsx” script. A legend of named swatch rectangles with (by default) their CMYK & RGB values will appear in a nicely grouped object on the top of your document.

*(If you want to skip the “none” and “registration” values, just edit the script so the “for” loop start at 2 instead of 0.)

Download Render Swatch Script


  • monique

    January 13, 2014 at 12:22 pm

    I’ve tried applying this script numerous times but it’s only rendering the cmyk code when I really need the RGB.
    I’ve converted my document to RGB and even changed all the swatches to RGB and still doesn’t work, any thoughts?

  • Mark-Anthony

    January 14, 2014 at 4:52 pm

    Switch your color mode from CMYK to RGB in the swatch panel’s fly-out menu.

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.