Color Replacer is an Editor tool for Unity that scans open scenes, selection, project prefabs and materials, groups similar colors by tolerance and lets you replace them in bulk — safely and fast. Supports UI components, renderers (instance/shared), lights, camera background, particles (Color mode), and shader color properties via the modern Shader.GetProperty* API (with legacy fallback).
Online Documentation | Discord | Email
Key features:
- Scopes: Open Scenes · Selection Only · Project Prefabs · Project Materials
- Supported types:
Image, RawImage, Text, TextMeshProUGUI, SpriteRenderer, LineRenderer (start/end), TrailRenderer (start/end), Light.color, Camera.backgroundColor, ParticleSystem.Main.startColor (Color mode), Material color properties (shader). - Shader colors: Uses shader.GetPropertyCount/Name/Type (ShaderPropertyType.Color), with automatic fallback to ShaderUtil.* on older Unity.
- Grouping: Tolerance slider + optional Alpha matching to merge close colors into one group.
- Renderer handling: Choose between Instance material (renderer.material) and Shared material (renderer.sharedMaterial).
- Filters & search: Toolbar search (hex/name/property/asset), Name Filter, Include Inactive, Known Types First (skip reflection for speed).
- Palette: Save and reuse brand colors (stored in EditorPrefs).
- Safety: One Undo group for the whole operation; optional Auto Save Scenes/Assets.
- Dry-Run: Preview replacements without writing changes.
- Reports: Export CSV (scan/replace audit).
Quick start
- Pick scope in Scope & Matching.
- Scan / Refresh.
- Select color groups on the left, review items on the right.
- Set New Color (or pick from Palette).
- Click Apply Replace or Preview (Dry Run).
- (Optional) Export CSV.
Compatibility
- Unity 2019.1+: uses Shader.GetProperty*. Older versions auto-fallback to ShaderUtil.*.
- Works with Built-in, URP, HDRP (any shader that exposes Color properties).
- TextMeshPro is recommended (optional).
Color Replacer simplifies and speeds up color adjustments in Unity scenes by allowing developers to effortlessly replace colors on objects with just a few clicks.