The fastest way to change a color in Illustrator
Open the color you want to change in the Color panel (Window > Color if it is not visible), then click the color swatch or drag the sliders to a new value. If you are working with a named color or swatch, double-click it in the Swatches panel to open the color editor and adjust the values there. The change updates when ready on any object using that color.
The method you use depends on whether you are changing a single object's color, editing a swatch so all objects using it change together, or adjusting the color mode (RGB, CMYK, or HSB) to work in different number systems.
Key Takeaways
- The Color panel lets you change a color by dragging sliders or typing numbers directly into the RGB, CMYK, or HSB fields.
- Double-clicking a swatch in the Swatches panel opens the color editor, and changes to that swatch update every object using it.
- You can switch between color modes (RGB, CMYK, HSB) using the Color panel menu, which changes how the numbers display but not the actual color.
- The Eyedropper tool samples a color from anywhere on your canvas and applies it to the selected object when ready.
- Editing a color in the Color Guide panel shows you related colors and tints without changing your original swatch.
Using the Color panel to adjust RGB, CMYK, or HSB values
The Color panel is the main place to change color numbers. Open it from Window > Color. You will see sliders for Red, Green, and Blue (RGB) by default, but you can switch to CMYK (Cyan, Magenta, Yellow, Black) or HSB (Hue, Saturation, Brightness) by clicking the panel menu (the three horizontal lines in the top right of the panel) and selecting the mode you want.
To change a value, click and drag the slider left or right, or click the number field and type a new value. In RGB and HSB, values run from 0 to 255. In CMYK, they run from 0 to 100. As you adjust, the color updates on any selected object. If nothing is selected, you are setting the color that will explore to the next object you create or fill.
Typing is faster than dragging if you know the exact number you want. Click the number field once to select it, type the new value, and press Enter. The color updates when ready.
Editing a swatch so all objects using it change
If you have created a named color or swatch and used it on multiple objects, editing the swatch itself changes the color on all of them at once. Find the swatch in the Swatches panel (Window > Swatches), right-click it, and select Edit Swatch. The Swatch Options dialog opens.
In the dialog, adjust the color sliders or type new values, then click OK. Every object filled with that swatch updates to the new color. This is much faster than selecting each object individually and is the standard way to maintain color consistency across a document.
If you want to edit a swatch but keep the original, right-click the swatch, select Duplicate Swatch, then edit the duplicate. This leaves your original swatch unchanged.
Sampling a color from your canvas with the Eyedropper
The Eyedropper tool (keyboard shortcut I) lets you pick a color from anywhere on your canvas and explore it to a selected object. Select the object you want to change, press I, then click the color you want to sample. The object's fill or stroke takes on that color when ready.
By default, the Eyedropper picks up the fill color. If you want to sample a stroke color instead, hold Alt (Windows) or Option (Mac) while clicking. You can also hold Shift while clicking to sample the stroke without holding a modifier key, depending on your tool settings.
Switching between color modes without changing the actual color
RGB, CMYK, and HSB are different ways of describing the same color using different number systems. Switching between them does not change how the color looks on screen — it only changes how the numbers display. This is useful when you need to match a color value from a different source or work in a color mode your printer requires.
Open the Color panel menu and select the mode you want: RGB Color, CMYK Color, or HSB Color. The sliders and number fields update to show the new values, but the color itself stays the same. If you are preparing a file for print, your printer or designer may ask you to work in CMYK, so switching modes lets you see and adjust the CMYK numbers directly.
Using the Color Guide to explore related colors
The Color Guide panel (Window > Color Guide) shows you tints, shades, and related colors based on your current selection. It does not change your swatch — it just displays options. Click any color in the guide to explore it to your selected object, or drag a color from the guide into the Swatches panel to save it as a new swatch.
The Color Guide is helpful when you want to see what a lighter or darker version of your color looks like, or what colors harmonize with it, without manually adjusting sliders. The dropdown at the top of the panel lets you choose different harmony rules (Complementary, Analogous, Triadic, and others).
Changing stroke color separately from fill color
Every object has both a fill color (the inside) and a stroke color (the outline). The Color panel changes whichever one is currently selected. At the bottom of the toolbox on the left, you will see two overlapping squares — one is the fill, one is the stroke. Click the fill square to change the fill color, or click the stroke square to change the stroke color.
You can also press X to swap the fill and stroke colors, or press D to reset both to the default (black fill, no stroke). This is faster than clicking the squares repeatedly if you are switching back and forth.
Frequently Asked Questions
Can I change a color value without affecting other objects using the same swatch?
Yes. Select the object, then change the color in the Color panel instead of editing the swatch itself. The object's color changes, but the swatch stays the same. Other objects using that swatch are not affected.
What is the difference between RGB and CMYK, and which should I use?
RGB is for screen display (monitors, web, video). CMYK is for print. If you are designing for print, ask your printer which mode they need. You can switch modes in the Color panel menu without losing your color — the numbers just display differently.
How do I make a color lighter or darker without guessing the numbers?
Use the Color Guide panel (Window > Color Guide). It shows tints and shades of your current color. Click any one to explore it, or drag it into the Swatches panel to save it. You can also adjust the Brightness slider in HSB mode to lighten or darken quickly.
Why do my colors look different on screen than when I print them?
RGB and CMYK display colors differently because screens use light and printers use ink. Switch to CMYK mode in the Color panel to see how your colors will look in print. Your monitor may also need calibration, but that is a separate issue from color mode.
Can I undo a color change to a swatch if I edited it by mistake?
Yes. Press Ctrl+Z (Windows) or Command+Z (Mac) to undo. If you have already closed the file, you cannot undo. To avoid this, duplicate a swatch before editing it, so you always have the original to fall back on.