The fastest way to change a color in Illustrator
Open the color you want to change by selecting the object with that color, then click the fill or stroke square in the toolbar on the left side of your screen. The color picker opens immediately. You can type exact values into the fields at the bottom — RGB numbers from 0 to 255, hex codes starting with #, or CMYK percentages depending on which mode you are in. Hit Enter and the color updates on your selected object right away.
If you want to change the same color everywhere it appears in your document at once, use the Edit menu instead. Go to Edit > Edit Colors > Recolor Artwork, which opens a dialog that shows every color in your file. Select the color you want to change and adjust its values in one place — all instances update together.
Key Takeaways
- Select an object, click the fill or stroke square in the toolbar, and type new color values directly into the RGB, hex, or CMYK fields in the color picker.
- Use Edit > Edit Colors > Recolor Artwork to change one color everywhere in your document at the same time instead of object by object.
- The color mode you are working in (RGB, CMYK, or HSB) determines which number fields appear in the color picker.
- The Swatches panel lets you save color values you use often so you can apply them consistently across multiple projects.
- Shift-click a color in the color picker to adjust only the brightness or saturation without changing the hue.
Changing color values in the color picker
When you click the fill or stroke square, the color picker panel appears. At the bottom of this panel are number fields showing your current color's values. The exact fields depend on your color mode — if you are in RGB mode, you see three fields labeled R, G, and B with numbers from 0 to 255. In CMYK mode, you see four fields for Cyan, Magenta, Yellow, and Black, each showing a percentage from 0 to 100.
Click into any field and type a new number. You do not have to use the slider — typing is faster and more precise. After you type, press Enter or Tab to apply the change. The color updates on your selected object immediately, and the color picker shows the new result. If you are working with a hex code (the six-character code starting with #), click the hex field and paste or type the code directly.
You can also use the color slider on the right side of the picker to choose a hue first, then click inside the large square to adjust brightness and saturation. This method is useful when you know roughly what color you want but need to fine-tune it.
Switching between color modes
Illustrator lets you work in RGB (for screen display), CMYK (for print), HSB (hue, saturation, brightness), or LAB color. The mode you choose determines which number fields appear in the color picker and how you enter values. To change your color mode, click the menu icon (three horizontal lines) in the top right corner of the color panel and select your preferred mode.
RGB is the default for new documents and works best if your final output is digital — a website, social media, or screen presentation. CMYK is required for print jobs because printers use four inks instead of light. If you switch modes, Illustrator converts the color automatically, but the conversion is not always perfect — a bright screen red in RGB may look slightly different when converted to CMYK for print. If your project will be printed, set your document to CMYK mode before you start designing so your colors stay accurate.
Using Recolor Artwork to change multiple instances at once
When the same color appears in many objects across your artboard, changing each one individually is slow. Instead, go to Edit > Edit Colors > Recolor Artwork. A dialog box opens showing every distinct color in your current selection or entire document. On the left side, you see the original colors; on the right, you see the new colors they will become.
Click on any color in the left column to select it, then adjust its values in the fields below using RGB, CMYK, or hex input. As you change the values, the preview on the right updates to show what your artwork will look like. When you are satisfied, click OK and every instance of that color in your document changes at once. This is especially useful when you need to shift an entire color scheme — for example, changing all blues to greens or all warm tones to cool tones.
Saving colors to the Swatches panel
Once you have created a color you like, save it to your Swatches panel so you can use it again without re-entering the values. With your color selected in the color picker, drag the color square into the Swatches panel on the right side of your screen, or right-click the color and choose Add to Swatches. The color now appears as a square in your Swatches panel and stays there for the rest of your session.
To save your swatches permanently so you can use them in future projects, go to Window > Swatch Libraries > Save Swatches as Library. Name your library and choose where to save it. Later, you can open that library from any Illustrator document by going to Window > Swatch Libraries > User-Defined and selecting your saved library. This is helpful when you work with a consistent brand color palette or want to maintain the same colors across multiple design files.
Working with global colors and spot colors
Illustrator offers two special color types beyond standard RGB and CMYK: global colors and spot colors. A global color is one that updates everywhere it is used when you change its values. To make a color global, add it to your Swatches panel, then right-click it and select Swatch Options. Check the box labeled "Global" and click OK. Now whenever you edit that swatch, every object using that color updates automatically.
Spot colors are used in print design when you need an exact, premixed ink — like a specific brand color that cannot be created by mixing CMYK inks. To create a spot color, go to Window > Swatch Libraries > Color Books and choose a library like Pantone or Toyo. Click the color you want, and it appears in your Swatches panel as a spot color. Spot colors cost more to print because they require a separate ink plate, so use them only when color accuracy is critical.
Adjusting color without changing the hue
Sometimes you want to keep the same color but make it lighter, darker, or more or less saturated. Hold Shift and click inside the color picker square to adjust only brightness and saturation while keeping the hue locked. This prevents accidental color shifts that happen when you move the slider on the right side of the picker.
Alternatively, use the HSB color mode, which separates hue (the actual color), saturation (how pure or muted it is), and brightness (how light or dark it is). In HSB mode, you can change the B value to make a color lighter or darker, or change the S value to make it more vivid or more gray, without touching the H value that defines what color it actually is. This gives you precise control over color variations within a single hue family.
Frequently Asked Questions
What is the difference between RGB and CMYK color values?
RGB uses three values (0–255) for red, green, and blue light and is used for screens. CMYK uses four percentages for cyan, magenta, yellow, and black ink and is used for printing. A color that looks bright in RGB may appear duller in CMYK because screens emit light while printed ink reflects it. If your design will be printed, work in CMYK mode from the start.
Can I paste a hex color code directly into Illustrator?
Yes. Click the hex field in the color picker (it shows a # symbol), clear the current code, paste or type your new hex code, and press Enter. Illustrator converts the hex value to RGB or CMYK depending on your document's color mode and applies it to your selected object.
Why does my color look different on screen than in print?
Screens display RGB colors using light, while printers create CMYK colors using ink. The two color spaces do not match perfectly — RGB can show brighter, more vivid colors than CMYK can reproduce. To avoid surprises, design in CMYK mode if your final output is print, and ask your printer for a color proof before the full print run.
How do I make sure a color stays the same across multiple artboards?
Add the color to your Swatches panel and mark it as global. Then use that swatch whenever you need that color. If you later edit the swatch values, every object using that global swatch updates automatically across all artboards in your document.
What happens if I change a color value but the object does not update?
Make sure the object is actually selected — you should see a blue outline around it. Also check that you are editing the fill or stroke that is actually visible on the object. If the object uses a global swatch, edit the swatch itself in the Swatches panel rather than trying to change the color on the object directly.