---
title: Changing colors — Ideogram 4.6 Precise Edit | Runware Docs
url: https://runware.ai/docs/models/ideogram-4-6-precise-edit/guides/changing-colors
description: "How to recolor a product with Ideogram 4.6 Precise Edit: hex codes in the instruction, colorways from one shoot, muted colors and hex codes picked from a sample."
---
### [Introduction](https://runware.ai/docs/models/ideogram-4-6-precise-edit/guides/changing-colors#introduction)

A product that comes in five colors usually needs **five photo shoots**, or one shoot and a retoucher. Ideogram 4.6 Precise Edit turns that into one shoot and one edit per color: name the part, give the color as a hex code and say in words how light and muted it is, and the result comes back at the source's exact size with the new color in place.

**Original**:

![A woman with long auburn hair in a cream chunky ribbed knit sweater tucked into cream wide-leg trousers, against a warm white studio wall](https://runware.ai/docs/assets/source-sweater.OfgEtfUP_1t0KBP.jpg)

> **Prompt**: Photorealistic e-commerce fashion photograph of a woman in her late twenties with long auburn hair, standing relaxed and facing the camera against a plain warm white studio wall, wearing a cream chunky ribbed knit crewneck sweater tucked loosely into cream wide-leg trousers. Three-quarter length framing from mid-thigh to just above the head, arms relaxed. Soft even studio light, crisp knit texture, catalog lookbook style.

**#7A9E7E**:

![The same woman and pose with the sweater in a soft muted gray-green and the trousers still cream](https://runware.ai/docs/assets/colorway-sage.Gt1Yugor_ZALOzA.jpg)

> **Prompt**: Change the color of her ribbed knit sweater to #7A9E7E, a soft muted gray-green, light and desaturated. Keep its ribbed knit texture, its shape and the way it sits on her exactly the same, and keep her cream trousers, her face, her hair and the studio exactly the same.

**#C65D3B**:

![The same woman and pose with the sweater in terracotta and the trousers still cream](https://runware.ai/docs/assets/colorway-terracotta.BjtRfpO9_2c2QM9.jpg)

> **Prompt**: Change the color of her ribbed knit sweater to #C65D3B, a warm earthy terracotta, a soft orange-brown that is muted rather than bright. Keep its ribbed knit texture, its shape and the way it sits on her exactly the same, and keep her cream trousers, her face, her hair and the studio exactly the same.

**#2C3E66**:

![The same woman and pose with the sweater in a dusty navy and the trousers still cream](https://runware.ai/docs/assets/colorway-navy.HH1x7vRh_2c6DEx.jpg)

> **Prompt**: Change the color of her ribbed knit sweater to #2C3E66, a dusty navy, a soft grayish blue that is muted rather than vivid. Keep its ribbed knit texture, its shape and the way it sits on her exactly the same, and keep her cream trousers, her face, her hair and the studio exactly the same.

Step through the colorways: **the folds and the drape** stay where they were in every one. Outside the sweater the photo is untouched: a crop of her face differs from the source in 10 of about 105,000 pixels.

This guide covers the request, the recolor instruction, muted colors, hex codes from a sample and checking the result.

### [The request](https://runware.ai/docs/models/ideogram-4-6-precise-edit/guides/changing-colors#the-request)

A recolor is an ordinary edit: the photo in `inputs.seedImage` and **the color in the instruction**.

**TypeScript**:

```typescript
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'ideogram:4.6@precise-edit',
  positivePrompt: 'Change the color of her ribbed knit sweater to #7A9E7E, a soft muted gray-green, light and desaturated. Keep its ribbed knit texture, its shape and the way it sits on her exactly the same, and keep her cream trousers, her face, her hair and the studio exactly the same.',
  inputs: {
    seedImage: 'https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-sweater.jpg'
  }
})
```

**Python**:

```python
import asyncio
import os

from runware import Runware

async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "ideogram:4.6@precise-edit",
            "positivePrompt": "Change the color of her ribbed knit sweater to #7A9E7E, a soft muted gray-green, light and desaturated. Keep its ribbed knit texture, its shape and the way it sits on her exactly the same, and keep her cream trousers, her face, her hair and the studio exactly the same.",
            "inputs": {
                "seedImage": "https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-sweater.jpg"
            }
        })

asyncio.run(main())
```

**cURL**:

```bash
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "7c2e5a94-1d38-4b6f-8e07-3a9d6c1f4b52",
      "model": "ideogram:4.6@precise-edit",
      "positivePrompt": "Change the color of her ribbed knit sweater to #7A9E7E, a soft muted gray-green, light and desaturated. Keep its ribbed knit texture, its shape and the way it sits on her exactly the same, and keep her cream trousers, her face, her hair and the studio exactly the same.",
      "inputs": {
        "seedImage": "https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-sweater.jpg"
      }
    }
  ]'
```

**CLI**:

```bash
runware run ideogram:4.6@precise-edit \
  positivePrompt="Change the color of her ribbed knit sweater to #7A9E7E, a soft muted gray-green, light and desaturated. Keep its ribbed knit texture, its shape and the way it sits on her exactly the same, and keep her cream trousers, her face, her hair and the studio exactly the same." \
  inputs.seedImage=https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-sweater.jpg
```

**JSON**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "7c2e5a94-1d38-4b6f-8e07-3a9d6c1f4b52",
  "model": "ideogram:4.6@precise-edit",
  "positivePrompt": "Change the color of her ribbed knit sweater to #7A9E7E, a soft muted gray-green, light and desaturated. Keep its ribbed knit texture, its shape and the way it sits on her exactly the same, and keep her cream trousers, her face, her hair and the studio exactly the same.",
  "inputs": {
    "seedImage": "https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-sweater.jpg"
  }
}
```

### [Writing a recolor instruction](https://runware.ai/docs/models/ideogram-4-6-precise-edit/guides/changing-colors#writing-a-recolor-instruction)

The colorway instructions share one shape. Only the color changes from one request to the next:

**[Target]** Change the color of her ribbed knit sweater, **[Color]** to #7A9E7E, a soft muted gray-green, light and desaturated., **[Keeps]** Keep its ribbed knit texture, its shape and the way it sits on her exactly the same,, **[Neighbors]** and keep her cream trousers, her face, her hair and the studio exactly the same.

Four parts carry the edit:

- **The target.** "Her ribbed knit sweater" names one garment.
- **The color, as a hex and in words.** The code pins the value, and the description says how light and how muted it is.
- **What the color must not change.** A recolor is a change of hue, so the texture, the shape and the drape are listed as staying.
- **The neighbors in the same color.** The trousers are cream like the sweater. Without "keep her cream trousers", a recolor of the cream sweater could take them along.

**Start from a light product.** A white or cream source takes any hue without carrying a tint of its old color, and its shading is the shading the new color needs.

### [Describing muted colors](https://runware.ai/docs/models/ideogram-4-6-precise-edit/guides/changing-colors#describing-muted-colors)

A color name pulls toward **the familiar version of that color**, and for a muted color the familiar version is brighter than the code. "#7A9E7E sage green" came back as a saturated mid-green, "#2C3E66 navy blue" as a deep, vivid navy. Described in words instead, as "a soft muted gray-green, light and desaturated" and "a dusty navy, a soft grayish blue", the same codes came back close to their values.

For a muted or dark color, **say how muted and how light it is**: dusty, soft, grayish, desaturated, earthy. A bright color such as a clean red or a sky blue needs only its code and a plain name.

Terracotta is the exception in the set above. `#C65D3B` came back **redder and darker than its code** in three runs, with and without the description, so check warm earth tones with a color picker before a colorway ships.

### [Turning a sample into a hex](https://runware.ai/docs/models/ideogram-4-6-precise-edit/guides/changing-colors#turning-a-sample-into-a-hex)

The color often arrives as **a sample instead of a code**: a paint chip or a screenshot from a brand's style guide. Passed as a flat reference image, a chip came back as saturated as an undescribed hex. Pick the color from the flat center of the sample instead, and write it the same way as any other color.

**Source**:

![A white electric hatchback at a three-quarter angle on a concrete forecourt in front of a glass showroom](https://runware.ai/docs/assets/source-car.BwSBz2AF_6vAR9.jpg)

> **Prompt**: Photorealistic automotive dealership photograph of a modern white electric hatchback parked at a three-quarter front angle on a clean pale concrete forecourt in front of a glass showroom, black wheels and tinted windows, overcast daylight with soft reflections on the paint, shot on a 35mm lens at headlight height.

**#1B3A57**:

![The same hatchback repainted in a glossy metallic deep slate blue, with the wheels, windows and showroom unchanged](https://runware.ai/docs/assets/output-car.DF9ximZN_Z1DAiv6.jpg)

> **Prompt**: Repaint the body of the hatchback #1B3A57, a deep muted slate blue, in a glossy metallic finish. Keep the wheels, the windows, the lights, the forecourt and the showroom exactly the same.

**TypeScript**:

```typescript
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'ideogram:4.6@precise-edit',
  positivePrompt: 'Repaint the body of the hatchback #1B3A57, a deep muted slate blue, in a glossy metallic finish. Keep the wheels, the windows, the lights, the forecourt and the showroom exactly the same.',
  inputs: {
    seedImage: 'https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-car.jpg'
  }
})
```

**Python**:

```python
import asyncio
import os

from runware import Runware

async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "ideogram:4.6@precise-edit",
            "positivePrompt": "Repaint the body of the hatchback #1B3A57, a deep muted slate blue, in a glossy metallic finish. Keep the wheels, the windows, the lights, the forecourt and the showroom exactly the same.",
            "inputs": {
                "seedImage": "https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-car.jpg"
            }
        })

asyncio.run(main())
```

**cURL**:

```bash
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "imageInference",
      "taskUUID": "3b8f1d6a-4e25-4c97-a0b3-9f6e2d8c1a47",
      "model": "ideogram:4.6@precise-edit",
      "positivePrompt": "Repaint the body of the hatchback #1B3A57, a deep muted slate blue, in a glossy metallic finish. Keep the wheels, the windows, the lights, the forecourt and the showroom exactly the same.",
      "inputs": {
        "seedImage": "https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-car.jpg"
      }
    }
  ]'
```

**CLI**:

```bash
runware run ideogram:4.6@precise-edit \
  positivePrompt="Repaint the body of the hatchback #1B3A57, a deep muted slate blue, in a glossy metallic finish. Keep the wheels, the windows, the lights, the forecourt and the showroom exactly the same." \
  inputs.seedImage=https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-car.jpg
```

**JSON**:

```json
{
  "taskType": "imageInference",
  "taskUUID": "3b8f1d6a-4e25-4c97-a0b3-9f6e2d8c1a47",
  "model": "ideogram:4.6@precise-edit",
  "positivePrompt": "Repaint the body of the hatchback #1B3A57, a deep muted slate blue, in a glossy metallic finish. Keep the wheels, the windows, the lights, the forecourt and the showroom exactly the same.",
  "inputs": {
    "seedImage": "https://assets.runware.ai/guides/ideogram-4-6-precise-edit/changing-colors/source-car.jpg"
  }
}
```

The finish comes from the instruction too: "a glossy metallic finish" turns the flat value into paint with reflections, which is how the same slate blue reads on a car body.

**List the parts that keep their color.** The wheels, the windows and the lights are in the keep clause, because "repaint the hatchback" alone could reach them.

### [Checking the result](https://runware.ai/docs/models/ideogram-4-6-precise-edit/guides/changing-colors#checking-the-result)

Check two things:

- **The new color.** Sample a flat, evenly lit area of the recolored surface, average a patch rather than reading one pixel, and compare it with the hex. A knit in studio light reads darker than its code in the folds, so sample the flat front of the garment, away from the folds.
- **Everything else.** Because the output has the source's exact dimensions, the two files can be **diffed directly**. `magick compare source.jpg result.jpg diff.png` paints every changed pixel, and the diff should light up the recolored part and little else.

### [Tips](https://runware.ai/docs/models/ideogram-4-6-precise-edit/guides/changing-colors#tips)

1. **Give the color as a hex and in words.** Say how light and how muted it is, because a color name alone drifts brighter.
    
2. **List what the recolor keeps.** Texture, shape and drape stay, so say so.
    
3. **Name the neighbors in the old color.** A garment or a trim in the same color is the first thing a recolor takes along.
    
4. **Start from white or cream.** A light source gives every new color clean shading.
    
5. **Turn a sample into a hex.** Pick the color from the flat center of the sample and add the finish, matte, satin or metallic, in the instruction.
    
6. **Diff the result against the source.** Same dimensions means the comparison takes one command.