When working in Adobe Illustrator, you expect your hex color codes to display accurately—but sometimes, they don’t show up as expected. This issue can disrupt your workflow, especially when brand consistency or precise color matching is critical. Understanding why hex colors fail to appear correctly—and how to fix it—is essential for designers who rely on exact color values across digital and print projects.
Why Hex Colors Might Not Be Showing in Illustrator
One of the most common reasons hex codes don’t display properly is due to Illustrator’s default color mode settings. If your document is set to CMYK instead of RGB, hex values (which are inherently RGB-based) may not render correctly—or may not be editable at all. Hex codes are tied to the RGB color model, so switching your document to RGB mode often resolves the issue immediately.
Another frequent culprit is the Color panel configuration. By default, Illustrator may display colors using HSB, CMYK, or grayscale sliders rather than offering a direct hex input field. Without enabling the correct panel options, you won’t even see a place to enter a hex code, leading users to believe the feature is missing or broken.
How to Enable Hex Input in Illustrator
To access hex color input, open the Color panel (Window > Color). Click the panel’s menu icon (the small hamburger icon in the top-right corner) and select RGB as the color mode. Once RGB is active, you’ll notice a field labeled “#” where you can type or paste your hex code directly. If this field isn’t visible, ensure you’re not in a CMYK or grayscale workflow.

Alternatively, use the Color Picker (double-click the Fill or Stroke swatch in the Tools panel). In the Color Picker dialog, you can enter the hex value in the “#” field at the bottom. This method works regardless of your document’s color mode, though the resulting color will still be interpreted within the active color space.
Common Scenarios Where Hex Values Disappear
Sometimes, hex codes vanish when working with global swatches or spot colors. These color types don’t support direct hex editing because they’re defined by their own color models (like Pantone or custom CMYK mixes). If you’ve applied a global swatch, Illustrator locks the color definition—meaning you can’t override it with a hex code until you break the link to the swatch.
Another scenario involves linked assets or embedded images. If you’re trying to sample a color from a linked JPEG or PNG, Illustrator may not allow hex input for that sampled color unless it’s converted to a process color. Always check whether your selected object uses a linked asset before assuming the hex field should be available.

Document Color Mode Mismatch
As mentioned earlier, document color mode plays a pivotal role. A CMYK document will interpret any hex code by converting it to the nearest CMYK equivalent—which may look different from the original RGB hex value. To preserve true hex accuracy, create or convert your document to RGB: go to File > Document Color Mode > RGB Color. This ensures that #FF5733 stays vibrant red-orange instead of shifting to a muted print-safe tone.
Keep in mind that even in RGB mode, some older versions of Illustrator (pre-CC 2018) had limited hex support. Updating to the latest version of Illustrator ensures full hex functionality, including live preview and accurate rendering.
Best Practices for Reliable Hex Color Usage
To avoid frustration, always start new projects in the correct color mode. If your final output is digital (web, mobile, apps), begin in RGB. For print, consider using hex during design but verify the CMYK conversion early. Use the Recolor Artwork tool (Edit > Edit Colors > Recolor Artwork) to batch-adjust hex-based colors while maintaining harmony.
Also, leverage Swatches wisely. Save frequently used hex colors as RGB swatches. This not only speeds up your workflow but also prevents accidental mode shifts. Right-click a swatch and choose “Swatch Options” to confirm it’s set to RGB and labeled with its hex value for easy reference.
Finally, if hex codes still aren’t appearing, reset your preferences: hold Alt+Ctrl+Shift (Windows) or Option+Command+Shift (Mac) while launching Illustrator. This clears corrupted preference files that might be interfering with UI elements like the hex input field.
With these steps, you’ll regain full control over hex color input in Illustrator—ensuring your designs stay pixel-perfect across every platform and output.