Fan of creative technology, elearning, instructional design and a little geeky

Illustrator: Creating a swatch set from an image

During our InDesign Trivia night at the Perth InDesign User Group in December, we had some fun with colours in InDesign.

Updated: 5-Jan-2010: Added Video Tutorial at end of transcript

Here’s one of the scenario’s we used: So you’re working on a layout in InDesign, and although you know you can use the Eyedropper tool to pick up colour from a placed image for use in InDesign, you’ve got the sudden urge to build a series of colour swatches based on the colours found in one of the images used in the layout.

The ingredients

Ok, so let’s have a look at how this works. The ingredients and tools we need are:

  • a placed image in Adobe InDesign
  • Adobe Illustrator

Getting the colour out of your image

I’m assuming you’ve already placed the image in InDesign. So let’s start by selecting the image that is to be the source of your swatches with the Selection tool.

Next either right-click the image (and choose the contextual menus) or choose Edit > Edit With > Adobe Illustrator CS4.

screenshot, Edit > Edit Width menus

Illustrator???? Hang-on this is a photo, shouldn’t we be opening this in Photoshop? Nope ūüôā¬† Illustrator has a very cool feature called Live Trace, and that’s what we’ll be using in this case to extract our swatches from the image.

The cool thing is that you can now choose in which application you’d like to Edit a placed file. This is something you couldn’t do before CS4.

screenshot in Illustrator with the photo placed

In Illustrator select the image with the Selection tool. As soon as you do that you should spot the Live Trace button in the Control panel at the top.

We could just click this button, however, doing so means that we have no idea of the settings that are being used, so we’re taking a different approach.

From the drop down menu next to the Live Trace button, choose Tracing Options… This will allow us to determine exactly how many colours we want to extract to swatches.

93_03_IllyLiveTrace2

The Tracing Options dialog appears. Yay! We’re not going to do too much in this dialog. Just a few minor changes in the Adjustments section of the dialog.

Set the Mode to Color. Leave the Palette on Automatic. and choose how many colours you’d like to create by setting the Max Colors option. The most important thing comes next: Enable the Output to Swatches option.

93_04_TraceOptions

We’re now ready to start extracting those colours.

Click Trace.

Back in Illustrator display the Swatches panel. Notice all those cool colours in it? These have all been created from the original Photoshop file that was opened in Illustrator through the Edit > Edit With option in InDesign.

Now all we need to do is get these colours to InDesign…

Click the first colour in the Swatches panel, then whilst holding down the Shift-key, click the last of the Swatches and from the panel menu choose Save Swatch Library as ASE… (Adobe Swatch Exchange).¬† This Swatch Exchange is a way in which you can share swatches between various Adobe applications.

93_05_SaveAsASE

You’ll be prompted for a save location. Save the .ase file in a spot where you can find it later on. An additional Swatch Exchange Alert, will explain that only solid swatches may be exchanged..

93_06_SaveAsASE3

Once you’ve got the .ase file saved, there’s no need for the open Illustrator document anymore. Close it (don’t save) and let’s get back to InDesign.

Back in InDesign

Time to return to InDesign. In InDesign choose Load Swatches from the Swatches panel and navigate to the previously saved .ase, select this file and click Open.

93_07_LoadSwatches

All the Swatches from the .ase file are now added to the Swatches panel in InDesign. Their names however are a little meaningless. You could opt to edit each name manually, however as we’ll be using the swatches as a colour palette it’s probably enough to know the breakdown in C-M-Y-K.

93_09_LoadSwatches

Select the first of the swatches, then whilst holding down the Shift key (same as previously in Illustrator), click the last swatch to select all Tracing swatches, and from the Swatches panel menu choose Swatch Options…

93_10_SwatchOptions

The Swatch Options dialog appears. To give the swatches a slightly more meaningful name, enable the Name with Colour Value option.

93_11_NameWithColourValue

Click OK, to accept this change and return to the InDesign document.

You’re now ready to go wild with colours in InDesign. Enjoy!

Video tutorial

Sorry for the crackling noise… my headphone makes noises when I move my head!!! and the fan of my computer is running non-stop, as it’s too hot in my office… (summer here and 32C inside)…

Similar posts
  • Adobe InDesign and XML: A Reference Guide The following is a reference guide I have compiled over time for those of you who are looking at doing a little more with XML in InDesign (originally published Feb. 2011,¬†last updated¬†Feb 2018). If you have any¬†extra information you’d like to see¬†added to this guide, feel free to message me. Mapping XML tags to InDesign [...]
  • How to change the colour of bullet points in InDesig... A few weeks ago I recorded a short quick tip tutorial. InDesign’s Control panel, gives users a quick and easy way to format text as a bulleted list. Highlight the text, and click the Bulleted List button in the Paragraph Formatting Controls mode for the Control panel. This applies a universal bullet character as the [...]
  • How to create a tint for a colour in Adobe Illustrat... How can I make a tint for a colour in Adobe Illustrator? It’s a question I’m asked regularly¬†by Illustrator users. There are two issues with the default settings when defining new colour swatches in Illustrator: When you apply the default colour swatches in Illustrator to your artwork, the swatch colour is not associated with the [...]
  • Creating a pop-up window in a PDF with Adobe InDesig... In the following YouTube tutorial, we’ll create an interactive PDF from¬†Adobe InDesign, in which we click on a button, which in turn opens up a simple pop-up window containing a close-box. When the close-box is clicked the pop-up window disappears [...]
  • Illustrator CC (2014): Rectangle tool and Transform ... On June 18, Adobe released #CCNext. One of the applications updated in this release is Adobe Illustrator. We’re up to version 18 now with the Illustrator CC (2014) release. Renewed Transform panel and¬†live shapes The¬†renewed Transform panel contains a Rectangle Properties section that is active¬†when you have a rectangle or rounded rectangle shape selected in [...]

6 Comments

  1. May 11, 2018    

    Fine way of explaining, and pleasant article to obtain information concerning
    my presentation topic, which i am going to present in institution of higher education.

  2. May 11, 2018    

    Definitely imagine that which you said. Your favorite reason seemed to be at the net the simplest factor to remember of.
    I say to you, I definitely get irked even as other folks think about concerns that they plainly do not know about.
    You managed to hit the nail upon the highest as well as
    outlined out the whole thing with no need side-effects , people can take a signal.
    Will likely be again to get more. Thanks

  3. May 7, 2018    

    I love looking through an article that can make men and
    women think. Also, many thanks for permitting
    me to comment!

  4. Cari Jansen Cari Jansen
    January 6, 2010    

    hi Jean-Claude.

    That’s a great one too! Love it! Thanks for sharing! ūüôā

    Cheers,

    Cari

  5. January 6, 2010    

    Love your “tut tut tut” on the video when you were waiting for Live Trace to perform. ūüėČ

    Another tips is to create an object mosaic from the images in Illustrator instead of using the live trace command. So select your image, choose Object > Create Object Mosaic… and enter the number of tiles you want each will correspond to a color. Then select the tiles and in the Swatch Panel option choose Add Selected Colors. A bit less accurate than Live Trace, but a lot faster.

  6. January 5, 2010    

    love this tip – such a great idea!

Leave a Reply

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