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

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

2 Comments

Add yours
  1. 1
    monique

    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?
    THX!

+ Leave a Comment