# Paint Anything: Toward Any-Color Controllable Image Generation and Editing

*Ji Xie, Dewei Zhou, Xinyu Huang, Xun Wang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149500) · [Open on the map](../papers.html#p149500)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Unified Multimodal Generation](../pgroup/264.md) · Type: new method · Keywords: any-color control, hex color embedding, text-to-image generation, image editing, color fidelity, Paint-500K

Areas: [Evaluation & Benchmarks](../areas/evaluation.md) › Visual Multimodal Evaluation › Image Editing Benchmarks

## Summary
Paint-Anything is a unified model that embeds 24-bit hex colors into text prompts to enable any-color controllable image generation and editing.

## Explained to a 5-year-old
We want to draw pictures and tell them exactly what color something should be, like a specific shade of blue. Existing tools only let us say 'blue' or 'red', but we need exact colors like #FF5733. This paper makes a new system that understands exact color numbers and can draw or edit pictures accordingly. It learns from many examples of colored pictures. It helps people create pictures with the exact colors they want, like brand logos.

## Explained to a 5-year-old, longer
Sometimes when we draw something, we want it to be a very specific color, like the exact shade of a brand logo. Right now, most drawing tools only let us pick colors by names such as "red" or "green", which can be vague. The paper talks about a problem called "any-color control", which means being able to ask for any color using a special code made of numbers and letters. This code is called a 24-bit hex value, which looks like #A1B2C3 and represents a precise color. The authors noticed that existing methods for colorizing or editing images are scattered and hard to use together. They built a big collection of colored images called Paint-500K to teach a model how to understand exact colors. They also created a new test set called PCBench that checks how well a model matches the exact colors in pictures. The new system can take a text description that includes a hex color and generate or edit an image so the object has that exact color. It works by aligning the color numbers with the pixels in the picture, making sure the colors stay stable. Experiments show that the system performs much better than regular text-to-image models when it comes to color accuracy. This makes it easier for designers, artists, and companies to create images with the exact brand colors they need. Overall, the work turns precise color control into something a text prompt can handle naturally.

## For a technical reader
The system takes a text prompt that includes a 24-bit hex color and produces or modifies an image so the targeted object matches that exact color. It learns from a large curated dataset of color-controlled images and uses a lightweight alignment gate to stabilize color fidelity. Evaluation on a new benchmark suite shows significant improvements in color accuracy compared to baseline text-to-image models. This approach simplifies precise color specification for designers and automates color-consistent image creation.

## Problem
Specifying objects by exact arbitrary colors (24-bit hex values) in image generation and editing is challenging, as existing methods are fragmented and lack unified text-prompt control.

## Method
The approach aligns numeric color tokens with localized pixel colors by constructing a large color-control dataset (Paint-500K) and using a high-noise gate for lightweight RGB alignment, enabling the model to learn any-color control as native prompt-following behavior.

## Results
The approach substantially improves any-color generation and editing performance over the base model, achieving higher hex color fidelity on the introduced benchmarks.

## Contributions
The paper introduces a unified any-color controllable model, a large color-control dataset (Paint-500K), and a diagnostic benchmark suite (PCBench) to learn arbitrary hex-color control as native prompt-following behavior.

## Practical relevance
Enables users to specify exact object colors, brand colors, or precise color compositions directly in text prompts for image generation and editing tasks.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149500)
