---
title: "overRgb"
description: "Runs color-only steps over a paint, in order, leaving its alpha alone."
group: "light"
groupTitle: "Noise, light & materials"
categoryId: "noise"
categorySlug: "noise"
categoryTitle: "Noise"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/paint/noise.ts#L952"
---

# overRgb

Runs color-only steps over a paint, in order, leaving its alpha alone.

```ts
overRgb(paint: Paint, ...stages: RgbStage[]): Paint
```

Import `noise` from `shaders/std` and use `noise.overRgb`.

This is how `ribbons` is closed: the ribbons come out in the working color space, `backToP3` brings them to display color and `tonePow` lifts them.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `paint` | `Paint` |  |
| `...stages` | `RgbStage[]` | Optional. |

## Example

```ts
const strands = ribbons({from: p('start'), to: p('end'), count: p('lineCount'), width: p('lineWidth'), amplitude: p('amplitude'), frequency: p('frequency'), softness: p('softness'), spread: p('spread'), pinEdges: p('pinEdges'), colorScale: p('colorScale'), colorVariance: p('colorVariance')})
paint: overRgb(strands, backToP3({space: p('colorSpace')}), tonePow())
```

## See also

- [`ribbons`](/docs/primitives/noise/ribbons) — Flowing gradient-colored ribbons between two points: the Strands look.
- [`backToP3`](/docs/primitives/noise/backtop3) — Brings `ribbons` color from its working color space back to display color.
- [`tonePow`](/docs/primitives/noise/tonepow) — A gentle lift of the mid-tones (rgb to the power 0.85), as an `overRgb` step.

## Used by

[Strands](/docs/components/strands)