---
title: "backToP3"
description: "Brings `ribbons` color from its working color space back to display color."
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#L973"
---

# backToP3

Brings `ribbons` color from its working color space back to display color.

```ts
backToP3(slots: {space?: PropRef}): RgbStage
```

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

`space` is the definition's compile-time color-space prop; leave it out for linear. Put it first in `overRgb`, right after the ribbons.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `slots` | `{space?: PropRef}` |  |

## Example

```ts
paint: overRgb(strands, backToP3({space: p('colorSpace')}), tonePow())
```

## See also

- [`overRgb`](/docs/primitives/noise/overrgb) — Runs color-only steps over a paint, in order, leaving its alpha alone.
- [`ribbons`](/docs/primitives/noise/ribbons) — Flowing gradient-colored ribbons between two points: the Strands look.

## Used by

[Strands](/docs/components/strands)