# Color Manipulation Options

Every Sirv option that takes a color, such as text, frame or vignette colors, accepts it the same way, as an RGB or RGBA value. Pick a color in the demo below to see the value to use.

Try it

![Original image](https://demo.sirv.com/hang.jpg?w=800)![Image with the options applied](https://demo.sirv.com/hang.jpg?w=800&saturation=40)OriginalWith options

Saturation40

Hue0

Brightness0

Contrast0

Exposure0

Lightness0

Shadows0

Highlights0

Grayscale

truefalse

https://demo.sirv.com/hang.jpg**?saturation=40**

[](https://demo.sirv.com/hang.jpg?saturation=40)

Using an AI coding agent?

Install the [`sirv-dynamic-imaging`](https://www.skills.sh/sirv/image-optimization-skill/sirv-dynamic-imaging) skill, and your agent can build these image URLs for you. Ask in plain words, such as “Serve our product photos as 800px WebP.” [See all 8 skills](/help/rest-api/sirv-skills-for-ai-agents/)

Parameters that have color are:

-   [vignette.color](/help/dynamic-imaging/effects-filters/vignette/)
-   [text.color](/help/dynamic-imaging/text-watermarks/text/)
-   [text.outline.color](/help/dynamic-imaging/text-watermarks/text/)
-   [text.background.color](/help/dynamic-imaging/text-watermarks/text/#background)
-   [watermark.canvas.color](/help/dynamic-imaging/text-watermarks/watermark/#watermark-canvas)
-   [frame.color](/help/dynamic-imaging/transformations/frame/)
-   [frame.rim.color](/help/dynamic-imaging/transformations/frame/)
-   [canvas.color](/help/dynamic-imaging/transformations/canvas/#color)

To set a solid color, use a standard RGB reference such as **01417F** in your URL or [profile](/help/dynamic-imaging/profiles/), for example:

`https://sirv.sirv.com/Examples/test-vibram.jpg?text.position=south&text=Blue%20text&text.size=50%&text.color=01417F`

![Example image with customized text overlay](https://sirv.sirv.com/Examples/test-vibram.jpg?w=400&text.position=south&text=Blue%20text&text.color=01417F&text.size=50%)

## Dominant colors

Sirv can identify the dominant color in each of 64 parts of your image. Each area is divided equally by height and width, like these examples:

![Division of image into 8×8 grid for dominant colors](https://sirv.sirv.com/website/screenshots/Help-Center/Sirv-dominant-color-detection-64-tiles-01.png)

![Division of image into 8×8 grid for dominant colors](https://sirv.sirv.com/website/screenshots/Help-Center/Sirv-dominant-color-detection-64-tiles-02.png)

![Division of image into 8×8 grid for dominant colors](https://sirv.sirv.com/website/screenshots/Help-Center/Sirv-dominant-color-detection-64-tiles-03.png)

Obtain the 64 dominant colors in either JSON or JSONP format by appending ?histogram=rgb&info to your image.

JSON example: [https://demo.sirv.com/example.jpg?histogram=rgb&info](https://demo.sirv.com/example.jpg?histogram=rgb&info)

JSONP example: [https://demo.sirv.com/example.jpg?info&callback=abc](https://demo.sirv.com/example.jpg?info&callback=abc)

Values for the 64 areas are displayed in sets of 8, like so:

```js
  "dominantColors": [
  [
    "#B9B7AE",
    "#A1A6B5",
    "#C0CAD3",
    "#AAA79C",
    "#AEA693",
    "#979385",
    "#D9F9FF",
    "#B3D8F7"
  ],
  [
    "#B0AB99",
    "#908A7D",
    "#C7AF8C",
    "#6C6254",
    "#675343",
    "#806B55",
    "#9AABB6",
    "#A2BCD2"
  ],
  [
    "#B9D3DA",
    "#7D8282",
    "#7A756C",
    "#777B7C",
    "#7F7262",
    "#9C9287",
    "#696157",
    "#6D7782"
  ],
  [
    "#B5CDD5",
    "#858E92",
    "#8F9696",
    "#9A9791",
    "#8C7E70",
    "#847360",
    "#443B32",
    "#3E3F3F"
  ],
  [
    "#A6AAA0",
    "#939CA1",
    "#70757C",
    "#877867",
    "#8F7558",
    "#7D6347",
    "#483A2E",
    "#3A3C41"
  ],
  [
    "#8C7D68",
    "#948C7F",
    "#7C8696",
    "#787379",
    "#5E452F",
    "#695D52",
    "#3B3025",
    "#1A1A18"
  ],
  [
    "#736149",
    "#503F2E",
    "#7C818C",
    "#5D5E65",
    "#3E2D22",
    "#31241B",
    "#36271B",
    "#161511"
  ],
  [
    "#5D564C",
    "#847E76",
    "#84827F",
    "#78746F",
    "#827E79",
    "#68625C",
    "#4D4137",
    "#3C2B1E"
  ]
  ],
```

Use these hex values to match page backgrounds, placeholders or product filters to the colors in each image.
