arXiv News

First-hand information for everyone

Site

AboutPrivacy PolicyTerms of Use

© 2026 arXiv News

arXiv News

EnglishJapanese

Switch language

EnglishJapanese
Loading account…

First-hand information for everyone

Back to front page
Computer VisionEnglishPublished

Paint-Anything: a single way to pick any 24‑bit color for image generation and editing

September 18, 2026arXiv: 2609.20816v1

This paper introduces Paint-Anything, a method that lets users specify an object’s exact color using any 24‑bit hex value and have a model generate or edit images to match. A 24‑bit hex value is the familiar six‑digit color code (for example #RRGGBB) that designers use to pick precise colors. The goal is a simple, unified “hex‑prompt” interface that works both when making new images and when changing colors in existing ones.

The team trained models to understand and follow hex color prompts at the object level. They built a dataset called Paint‑500K from real images by finding objects in photos, estimating their perceptual colors, and making pairs of images for editing examples. The authors also relied on large language models’ surprising ability to link hex codes to color descriptions as a starting point for the interface.

Real photos are imperfect because lighting and shadows change how a color appears. To handle that, the researchers added pure‑color anchors: small images whose pixels exactly match a target hex value. These anchors provide exact color supervision, but they used them only during high‑noise parts of training and left the low‑noise training steps to real images. That balance lets the model learn exact color values while still matching natural image appearance.

To measure how well the system follows hex color instructions, they created the Any Color Benchmark (ACBench). ACBench has two parts: ACBench‑T2I for text‑to‑image color fidelity and ACBench‑Edit for editing fidelity. On the FLUX.2‑4B base model, Paint‑Anything improved ACBench‑T2I scores by 85.3% and ACBench‑Edit scores by 28.3% compared with the same base model without the Paint‑Anything training. The paper also reports the highest average CompColor score among compared methods and presents ablation studies that support their training choices.

This work matters because many design and editing tasks demand exact color control, and prior approaches often required special color formats or separate procedures for generation and editing. By learning a shared hex‑prompt interface and combining natural images with exact color anchors, Paint‑Anything aims to give a simpler, more practical tool for precise color control.

Important caveats remain. The dataset labels from real photos are only approximate because of lighting and shadows, which is why the anchors are needed. The reported gains are measured on specific benchmarks and on the FLUX.2‑4B model; how well the method generalizes to other models, a wider range of images, or real user workflows is not shown in the abstract. The approach also depends on object grounding and paired editing examples, so it may require similar data to reproduce the results.

Source paper

Paint-Anything: Unified Any-Color Control for Image Generation and Editing

Computer VisionArtificial IntelligenceMachine Learning
View on arXiv
Paint-Anything: a single way to pick any 24‑bit color for image generation and editing | arXiv News