Indexing and Color Simplification

Each month Sherry London will be bringing The Textile Design Lab an in depth post on how to improve our design process by using technology to its fullest capacity. This is an excerpt of a longer post available to members of The Textile Design Lab. Join us to access the full post!

*March Tech Talk by Sherry London

Many designers prefer to use Photoshop but then run up against the color limits of wet (screen) printing. Wet printing is still quite commonly used in the textile industry. Where each additional color increases the production cost of the fabric, designers sometimes need to cut their number of colors quite drastically.

The thing that I find so ironic about this is that when I first started using Photoshop and computer graphics back in 1990, indexing was the norm—not the exception. My first PC could only display 8 or 16 colors. Some of the earlier computer systems could only do black and white (or grays as in the first Mac in 1984). I had a test version of the first Hercules card that did, I believe 128 colors.

In those days, it was very easy to find programs that let you manipulate colors and pick the ones that worked best for your image. Many companies, long since out of business, made plug-ins for Photoshop that let you color separate for screen printing.

You can still find purpose-made solutions, but they are now very expensive. Except for one that I found that is a low-cost plug-in for Photoshop, most everything I discovered whilst researching this article was quite costly. Tip: if you need to enter your name and address for a salesperson to call to “discuss” your needs, you probably can’t afford the solution!

What is Indexed Color?

Indexed color is a color mode that can store at most 256 entries in its table. In a “normal” file, Photoshop stores the color data for each pixel in the file on a pixel by pixel basis. Each location in the file can have a unique pixel color.

For an indexed color file, it’s easier if you picture a series of buckets. A 12-color file would have 12 “buckets” (figuratively, of course!)

bucketsindex

Now, instead of keeping the exact color of the pixel, Photoshop adds an index entry—much like the index of the book. Instead of saying that the book talks about “Color” on page 12, it would say that the pixel on the image at Row 1, Column 15, for example, uses bucket 6 for its color.

The advantage of this scheme is that that pixel always uses bucket 6 and even if you alter the color in bucket 6, it still gets it color from that bucket. Indexed color also means that you can change the color of every pixel in your image that used bucket 6 without even making a selection. Just editing your color table alters the pixel colors.

bucketswitch2

How to Index Your Colors

The physical process of indexing an image is really simple. All you need is a file and Photoshop. You choose the command Image > Mode > Indexed Color and enter the number of colors you want in the file, and click OK. Presto! You get an indexed color file. There’s only one little, bitty problem with this. It’s is usually UGLY!!!

Here’s an example from a colored pencil and watercolor sketch I created and, on the right, reduced to 12 colors.

Comparison-color

It could look worse—and if I had indexed a photo—it almost certainly would have been worse. So, what could I have done to help this?

The easiest first step is to add dither. Dithering is a way to make one color look as if it is blending into another by scattering pixels of one color onto the other. Even though the colors look blended, they aren’t. I have been a knitter, a beader, and a stitcher for much of my life. These are mediums where you use distinct colors and you don’t have the option of many colors to fade, for example from red to yellow.

If I were to use a Photoshop gradient, I could make a smooth gradient between red and yellow that would have a lot of intermediate colors. In beads or yarn, I can’t do that and to mix red gradually into yellow, I would need to either add the second color as a pattern or a random type mix until gradually, I was using more red and less yellow, and finally all red. You can see the Photoshop dither methods below and they approximate what I would need to do in yarn or beads.

dither

The same process happens when you create indexed color from a limited number of colors. However, if you’re separating for screen printing, too much dithering makes the screen hard to cut. You can see that Diffusion dithering provides the smoothest transition of the three methods. But, at most, you only want to add a diffusion dither of 45%. Let’s see if diffusion dithering helps my watercolor.

Comparison-dither

That makes a big difference! But, is it good enough? I don’t think so. If you look carefully at my original, you’ll see some bright yellow that’s totally missing from the other two images. So, how do I get Photoshop to choose only the colors that I want it to pick? To learn this process, with lots more visuals and a downloadable file, join us in The Textile Design Lab.

  1. Fab tutorial! They get better and better. I had no idea what ‘indexing’ meant…..not anymore! So much knowledge. Thank you Sherry 🙂

    Melissa

  2. Thank you so much for this post, if you don’t mind, I was wondering if it’s possible to supply color separations that have been done off the computer. My process is completely off the computer and I come from a screen printing background. What would you suggest as far as offering this type of work to production or agents and print studios. Thank you again! 🙂

  3. I got it! Indexing is the reverse of “painting by numbers”!
    I knew what all those little squares on the selvedges meant, but didn’t know what they were called. Now I know how to create my own virtual ones 🙂
    Thank you, Sherry!
    m

  4. Hi
    Just discovered this website, lots of interesting stuff including this article. This particular issue has been in my mind lately and now I know.
    Thanks.

  5. SO grateful for this article. You did such a great job making the process vivid! I know that’s a weird way to describe it, but, I get it finally!!! Yippeee!!!

  6. Very good but overwhelming! I know there is a free e-course but can you clarify if all the comments am reading are a result of that course or I have to make the quarterly payment first. Thanks for your reply

    Sara

  7. Great article….love all your helpful informations … I am putting together a collection, and would like to know if you could supply me with a color separation guide line to apply for both illustrator and photoshop (steps to follow)?  I appreciate your help in this matter.

    1. Hi Barbara! Do you mean how to layer motifs? Our Photoshop for Designers course will teach you how to isolate motifs from a painting and then you can copy and paste to layer. Please let me know if you have any other questions!

  8. hi
    please send me the sizes of the projects that you can show at an international show, I have been in this group for 2 years, can you count on such little help?
    thank you
    urszula galzinski

    1. Hi Urszula, We present our artwork at 13″x19″ although some studios print at larger sizes and others print smaller. Does this answer your question?

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.

At Pattern Observer we strive to help you grow your textile design business through our informative articles, interviews, tutorials, workshops and our private design community, The Textile Design Lab.

Featured Course

More Stories
Surtex Preview: Victoria Mlady