The fastest way to change a color in Illustrator

Select the object whose color you want to change, then click the fill or stroke color square in the toolbar on the left side of your screen. A color picker opens. You can type exact values into the fields at the bottom — RGB numbers from 0 to 255, or hex codes like #FF5733 — or drag the color slider to pick visually. Click outside the picker or press Enter to explore the change.

If you need to change the same color across multiple objects at once, select all of them first (Ctrl+A on Windows, Cmd+A on Mac), then change the color once. Every selected object updates together.

The color square you click matters: the front square is the fill (the inside color), and the back square is the stroke (the outline). If you only see one square, you have an object with no stroke or no fill. You can add both by clicking the small icons below the color squares.

Key Takeaways

  • Click the fill or stroke color square in the left toolbar, then type or pick your new color value directly in the picker that opens.
  • Hex codes and RGB values both work — type them into the fields at the bottom of the color picker, not into a search box.
  • To change color across many objects at once, select them all first, then change the color once and it applies to every selection.
  • The front color square is the fill; the back square is the stroke — click the one you actually want to change.
  • If you are working from a brand color guide or design file, paste the hex code directly into the hex field to match it exactly.

Using the Color panel for more control

The left toolbar color picker works for quick changes, but the Color panel gives you sliders for each color mode and shows your values as you adjust them. Open it from the Window menu (Window > Color), or press F6.

In the Color panel, you can switch between RGB, CMYK, HSB, and LAB modes using the small menu at the bottom right of the panel. RGB is standard for screen work; CMYK is for print. If you are designing for web or screen, stick with RGB. The panel shows your current values in real time as you move the sliders, so you can see exactly what number you are hitting.

You can also save colors you use often as swatches. With your color selected in the Color panel, drag it into the Swatches panel (Window > Swatches), or right-click and choose Add to Swatches. Next time you need that exact color, click the swatch instead of typing the values again.

Entering exact color values from a design file or brand guide

If you have a hex code, RGB values, or CMYK percentages from a design file or brand guide, you do not have to eyeball the color. Open the color picker or Color panel and find the field that matches your value type.

For hex codes: look for the field labeled with a # symbol. Click it, clear what is there, and paste or type your code (like FF5733). Press Enter and the color updates.

For RGB: the three fields show Red, Green, and Blue as numbers from 0 to 255. Type each value into its field. For CMYK: if you are in CMYK mode in the Color panel, you will see four fields for Cyan, Magenta, Yellow, and Black, each as a percentage from 0 to 100.

This method is much faster than trying to match a color by eye, and it ensures your colors stay consistent across your whole document.

Changing colors in the Swatches panel

If you have already created a swatch and need to change it everywhere it appears in your document, edit the swatch itself rather than each object. Open the Swatches panel (Window > Swatches), right-click the swatch you want to change, and choose Edit Swatch.

The color picker opens. Change the values, click OK, and every object using that swatch updates at once. This is especially useful if you realize a brand color was wrong or you want to try a new palette across a whole design without changing objects one by one.

Be careful: if you edit a swatch, it changes everywhere that swatch is used. If you only want to change one object's color, select the object instead and change its color directly, rather than editing the swatch.

Working with spot colors and color modes

Spot colors are special inks used in professional printing — they are not made by mixing CMYK, but printed as a single ink. If you are designing for print and your brand uses a Pantone color, you can create a spot color swatch in Illustrator.

Open the Swatches panel menu (the small icon in the top right corner of the panel) and choose New Color Swatch. In the dialog, change the Color Type dropdown from Process to Spot. Then choose your color library (Pantone, for example) from the Color Mode dropdown, and search for your color number. Click OK and the spot color is added to your swatches.

For most screen and web work, you do not need spot colors — RGB or hex is fine. Spot colors matter when you are sending files to a print shop that will use specific inks.

Fixing colors that do not look right on screen

Sometimes a color looks different on your screen than it does when you print it or send it to someone else. This is usually a color profile issue, not a problem with how you entered the value.

If you are designing for screen (web, social media, presentations), work in RGB mode and use hex codes. If you are designing for print, ask your print shop which color profile they use, then set your document to that profile (File > Document Color Mode).

The color value itself does not change — RGB #FF5733 is always the same number. But how it displays depends on your monitor, your color profile, and the device viewing it. If a client says a color looks wrong, ask them to send you a screenshot or tell you the RGB or hex value they are seeing, so you can match what they see rather than guessing.

Frequently Asked Questions

Can I paste a hex code directly into Illustrator?

Yes. Open the color picker or Color panel, click the hex field (marked with #), and paste your code. Press Enter and the color updates. You do not need to type it manually if you have it copied from another file.

What is the difference between RGB and CMYK?

RGB is for screens and web (Red, Green, Blue light). CMYK is for printing (Cyan, Magenta, Yellow, Black ink). If you are designing for web or social media, use RGB. If you are sending to a print shop, ask them which mode they need.

If I change a swatch color, does it change every object using that swatch?

Yes. Editing a swatch updates every object that uses it. If you only want to change one object, select it and change its color directly instead of editing the swatch.

Why does my color look different when I print it?

Screens and printers display color differently. RGB colors on screen do not always match CMYK on paper. Ask your print shop what color profile they use, and set your document to match before sending the file.

How do I make sure my brand colors stay the same across all my files?

Save your brand colors as swatches in a template file, or export them as an Adobe Swatch Exchange file (.ase). You can then open that file in any new Illustrator document and your colors will be there, with the exact same values every time.