Color

In this Adobe Illustrator Essentials lesson, you'll learn how to color your illustrations, work with the Eyedropper Tool, save color palettes to use across files, and recolor your artwork.

Fill & Stroke Colors

With a shape is selected, its fill (inner) and stroke (outline) color are shown in the toolbar:

Fill and stroke colors in the toolbar in Adobe Illustrator

Which ever is on top, whether that's the stroke or fill, is the one you'll be changing if you select a color from the

  • Swatches panel
  • Color panel
  • Color Guide panel

To switch which color is on top, click the arrow button next to the fill and stroke colors.

Below the fill and stroke colors, you have options for a solid color, gradient, and no color.

Here are some handy keyboard shortcuts when working with color:

  • X Switch if the fill or stroke is on top
  • Shift X Swap the fill and stroke colors
  • < Solid color fill or stroke
  • / Remove fill or stroke
  • > Gradient fill or stroke

You can also double click on the fill or stroke color to bring up the Color Picker.

Color picker in Adobe Illustrator

From here, you can select a new color from the spectrum, adjust Hue, Saturation, and Brightness values, adjust Red, Green, and Blue values, or type/paste in a Hex code. A hex code, or hexadecimal code, is a numerical representation of a color in the form of a 6 digit number. If you find a color you want to use online, you can often find the hex code to use that exact color in your artwork.

Important! RGB vs CMYK Colors

When working on digital graphics, like for animation in After Effects, you'll want to use RGB colors (not CMYK which are for print).

This is set up when creating a new document (see setting up workspace lesson), but you can easily change the color mode later. Go to File > Document Color Mode. Note that this will change the look of your colors slightly.

If you import graphics created in CMYK mode into After Effects, they'll look slightly different than what you've been working with in Illustrator (because it's converting the colors to RGB).

Gradients

To apply a gradient to the stroke or fill of a shape, in the toolbar, make sure the one you want is on top, then click the gradient button.

Fill and stroke colors in the toolbar in Adobe Illustrator

There are three types of gradients:

  • Linear Gradient - blends colors in a straight line (can be at an angle)
  • Radial Gradient - blends colors in a circle
  • Freeform Gradient - blends colors based on different points you set up

In the Gradient panel, you can:

  • Change the gradient type (linear, radial, or freeform)
  • Adjust the angle of a linear gradient or the aspect ration of a radial gradient
  • Adjust the colors in the gradient using the Gradient Slider - Select the circle of the color you want to change then select a color from the swatches panel, Color panel, or click the eyedropper (in the Gradient panel) then sample a color from anywhere in Illustrator
  • Add colors to the gradient - Hover over the Gradient Slider until you see a plus icon next to your cursor, then click to add a color
  • Subtract a color from the gradient - Select the circle of the color you want to delete on the Gradient Slider and click the trashcan icon
  • Reverse the gradient
  • Adjust the opacity of colors in the gradient - Select the circle of the color you want to adjust then type in or choose an opacity from the dropdown
  • Change the location of colors within the gradient by sliding the circles along the Gradient Slider, or select the circle and type in or choose a percentage location from the dropdown
  • Adjust the blending of the gradient by sliding the diamond icon above the Gradient Slider
Gradients in Adobe Illustrator

You can also adjust the blending of the gradient right on the shape if you first click the "Edit Gradient" button in the Gradient panel.

In order to adjust the gradient on a shape, the fill or stroke–whichever the gradient is applied to–needs to be on top in the Fill & Stroke boxes in the toolbar.

Freeform Gradient

The Freeform Gradient option allows you to place different colors anywhere within the shape.

Freeform gradients in Adobe Illustrator

With the shape selected, you can click and drag to move color points, adjust the spread of the color by dragging the dotted circle, and click an empty area to add a new color. In the Gradient panel, you can adjust the opacity or spread of the selected color, or delete it by hitting the trashcan icon.

You can also switch from color points to lines as an alternative way to blend colors in the gradient. With the Lines option, you can draw on the shape (with a tool similar to the Pen Tool) to direct the color where to go.

Gradients on Strokes

To create a gradient on a stroke, make sure the stroke is on top in the Fill & Stroke Color boxes in the toolbar. Then click the gradient button.

There are three options for gradients on a stroke: apply gradient within stroke, apply gradient along stroke, and apply gradient across stroke.

Gradients on strokes in Adobe Illustrator

Note that the stroke needs to be aligned to the outside (in the Stroke panel) in order for "apply gradient along stroke" and "apply gradient across stroke" to be options.

Eyedropper Tool

Keyboard Shortcut: I

The Eyedropper Tool is useful for sampling colors and recoloring artwork. There are two ways to use the Eyedropper Tool:

Method 1

  • Select the object (or multiple shapes) you'd like to recolor.
  • Grab the Eyedropper Tool and click on something within Illustrator that's the color you want to recolor the object.
    • You can click on a color in the Color panel or a color within other artwork.

If you click on another object with the Eyedropper Tool, it samples all attributes of object, including the fill color, stroke color, corners, stroke alignment, stroke weight, etc. and applies this to the selected shape. You can also copy gradients with the Eyedropper Tool. If you're working with text, using the Eyedropper will also copy the font and other attributes of the text.

If you only want to sample (copy) a color and not the other attributes of the object you're sampling, hold the shift key while sampling (clicking) with the Eyedropper Tool. This also works to sample a color from within a gradient (rather than sampling the entire gradient).

Make sure that whatever color (whether that's fill or stroke) you want to change on the selected object is on top in the Fill & Stroke boxes in the toolbar before sampling a color using the Eyedropper Tool and holding shift to just copy the color.

If you're sampling a lot of colors, here's a tip to make the workflow faster: With the Eyedropper Tool, hold the ⌘/Ctrl key to select another object to recolor. That way you don't have to switch back and forth between the Selection Tool and Eyedropper Tool.

Method 2

  • Set the colors in the Fill & Stroke boxes in the toolbar.
  • Grab the Eyedropper Tool.
  • Hold the option/Alt key and click on objects to recolor them with the colors you've set in the Fill & Stroke boxes in the toolbar.

This method can be a quick way to recolor a lot of objects with the same colors.

Sample Colors Outside of Illustrator

With the Eyedropper Tool, click an empty area in the artboard or canvas and hold while dragging outside of Illustrator to a color you want to sample. When your cursor is over the color you want to sample, lift up your mouse to sample it.

How to sample a color outside of Adobe Illustrator
The color you're sampling should appear in the Fill & Stroke boxes in the toolbar.

Tip!

Double click on the Eyedropper Tool in the toolbar to access options to customize how this tool works.

Appearance Panel

The Appearance panel allows you to adjust the fill, stroke, and opacity, and add multiple fills and strokes to an object.

If you add effects to objects, those can also be adjusted from the Appearance panel.

Appearance panel to add strokes and fills to objects in Adobe Illustrator

Note that the layer order in the Appearance panel matters!

Transparency Panel

You can adjust the opacity of objects and set the blending mode in the Transparency panel.

Transparency panel to adjust opacity or set blending mode in Adobe Illustrator
Blending mode options include Normal, Darken, Multiply, Color Burn, Lighten Screen Color Dodge, Overlay, Soft Light, Hard Light, Difference, Exclusion, Hue, Saturation, Color, and Luminosity

Masks will be covered in the next lesson.

Swatches Panel: Save Color Palettes

You can save colors as swatches to make it easy to reuse the colors within the same project and across other Illustrator files.

To save a color swatch:

  • Make sure that the color you want to save is set (and on top) in the Fill or Stroke box in the toolbar. Or, alternatively, you can select artwork to save its color.
  • In the Swatches panel, click the + icon.
  • From the New Swatches window:
    • You can adjust the color if you want.
    • Make sure you're working with RGB colors if you're creating digital art (like for animation).
    • Checking "global" means that if you adjust this swatch color later, all artwork that has this global color applied to it will be changed automatically.
    • Press OK!

Now your new swatch should appear in the Swatches panel. If you set the color up as a global swatch, there will be a white triangle in the bottom right corner.

To apply the swatch to graphics, select the graphic and click the swatch.

To edit an existing swatch:

Double click the swatch in the Swatches panel.

To save a swatch group (multiple colors):

  • Either select multiple swatches in the Swatches panel, or select artwork with multiple colors.
  • Click the folder icon in the Swatches panel.
  • From the New Swatch Group window:
    • You'll have the option to make these colors into global colors (meaning tha if you adjust a swatch color later, all artwork that has this global color applied to it will be changed automatically.

This will create a new swatch group:

Swatches panel to save colors in Adobe Illustrator

To save a swatch group to use in other Illustrator files:

  • In the Swatches panel, select the swatch group you'd like to save by clicking on the folder icon next to it.
    • Note that if you don't delete the default swatches, they'll be saved as part of your swatch library.
  • In the Swatches panel, click the 3 line menu button or library icon (bottom left corner) and choose "Save Swatch Library as ASE" or "Save Swatches..."
  • This will save the swatches in a default location that Illustrator knows where to find (i.e. I wouldn't change this location). Give your swatch group a name.
  • Hit Save!

To open a saved swatch group:

  • In the Swatches panel, click the 3 line menu button and go to "Open Saved Library" then "User Defined". You should see your saved swatches.
  • Or, click the library icon, then go to "User Defined" and you should see your saved swatches.

Save Colors in Libraries

You can also save colors in Libraries. Libraries can be useful because everything in your library is available across Adobe apps.

To save a color to libraries:

  • Create a new library or open an existing one.
  • Select artwork that's the color you want to save.
  • Click the plus icon in the bottom right corner of the Libraries panel. Choose Fill Color.
Libraries to save colors in Adobe Illustrator

To apply colors saved in Libraries:

  • Select the object you want to color.
  • Make sure the fill or stroke box is on top in the Fill & Stroke boxes in the toolbar - whichever you want to color.
  • Click the color in Libraries.

Unfortunately, recoloring shapes in After Effects from Libraries doesn't work (and sampling from Libraries with the Eyedropper often produces a color that's slightly off).

Magic Wand Tool

Keyboard Shortcut: Y

The Magic Wand Tool is for selecting things that have something in common. It can be really helpful when recoloring artwork.

With the Magic Wand Tool, click an object and it will select all objects with that same fill color.

To add to a selection, hold shift while clicking an object with the Magic Wand Tool.

To remove from a selection, hold option/Alt while clicking an object with the Magic Wand Tool.

To change how the Magic Wand Tool makes its selection, double click on the tool in the toolbar:

Magic Wand Tool to select objects with similar characteristics in Adobe Illustrator
Check the boxes to customize the characteristics the Magic Wand Tool makes its selection based on.

Recolor Artwork

The Color Guide panel can be helpful for finding other colors that go well with a selected color. You can explore other harmony rules in the dropdown menu.

Color guide panel for shades and tints of a color in Adobe Illustrator

To recolor artwork, go to Edit > Edit Colors > Recolor Artwork. From here there are many options to help you come up with new color combos for your artwork.

Recolor artwork options in Adobe Illustrator

Generative Recolor to come up with color palettes with the help of AI in Adobe Illustrator

You can also click over to the Generative Recolor tab and type in a prompt for the AI to come up with a color pallette.

All the keyboard shortcuts you need, in one place:

Up Next

In the next lesson you'll learn all about clipping mattes and masks; both ways to crop artwork to control the visibility of objects.