Colorize
Use the colorize transformation to apply a color treatment to a delivered image variant.
Overview
Colorize is useful for branded image treatments, generated image variants, editorial effects, and UI backgrounds that need to align with a specific color palette.
Syntax
| Field | Value |
|---|---|
| Canonical parameter | colorize |
| Alias | col |
| Accepted value | Color value |
Colors can use formats such as rgb, rrggbb, rrggbbaa, #rgb, #rrggbb, #rrggbbaa, or r:g:b[:alpha].
Example
https://cdn.imgwire.dev/{organization_id}/{environment_id}/{image_id}?colorize=2E38E6
image.url({
colorize: '2E38E6',
format: 'auto',
quality: 'auto',
});
imgwire images url img_123 --colorize 2E38E6 --format auto --quality auto
Before and after
Best practices
- Use colorize for intentional visual treatments, not general color correction.
- Prefer documented brand colors when the transformation is part of a design system.
- Use Duotone when you need separate shadow and highlight colors.
Common mistakes
- Colorizing product images where original color accuracy matters.
- Using colorize on images that still need natural skin tones or realistic color.
- Forgetting to test transformed images with surrounding UI colors.
Related pages
Last updated at: May 9, 2026