cs.CVOct 5, 2026

On Color Alignment in VAE Latent Spaces and Its Applications

Authors: Julian D. Santamaria, Kai Wang, Jesús Malo, Javier Vazquez-Corral, Alexandra Gómez-Villa

Organizations: Computer Vision Center · Universitat Aut`onoma de Barcelona · City University of Hong Kong (Dongguan) · Universitat de Val`encia

Abstract

Variational autoencoders (VAEs) are a key part of modern text-to-image models, which generate images within their latent space. VAEs are known to disentangle the main factors of variation in the data, and color is known to be one of the most structured of these in natural images: decorrelating it yields one luminance axis and two opponent-color axes. Color should therefore be expected to emerge as a distinct factor in the VAE latent space. Yet how these latent spaces represent color remains largely unexplored. In this work, we show that the VAEs of text-to-image models share a color subspace aligned with brightness and opponent-colors. Through a linear approximation of the encoder and targeted latent steering, we find this subspace consistently across a broad range of VAEs, from SD1.5 to FLUX.2 and Z-Image. Building on this characterization, we propose three applications: ColorTuning, which achieves state-of-the-art in precise numerical color generation on the fine-grained CSS3/X11 system of GenColorBench, saturation control, to adjust the global chromatic intensity, and color transfer, to change the palette to match a reference. The code and models are publicly available at https://julian075.github.io/Color_Subspace/

Figures & tables

Appendix figures & tables15 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PixSDS: Why Latent SDS Makes Noisy Pixels

    Aug 13, 2026Vsevolod Skorokhodov3D Generative ModelsPixelloop

  2. Distribution Matching Variational AutoEncoder

    Dec 8, 2025Sen Ye, Jianning Pei, Mengde Xu +4Conditional Variational AutoencoderGenerative Models