---
title: "channelBlur"
description: "Blurs red, green and blue by separate amounts, for a soft chromatic fringe."
group: "effects"
groupTitle: "Filters & effects"
categoryId: "effects.blurs"
categorySlug: "effects-blurs"
categoryTitle: "Blurs, glows & screens"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/effects/blurs.ts#L835"
---

# channelBlur

Blurs red, green and blue by separate amounts, for a soft chromatic fringe.

```ts
channelBlur(opts: {red: PropRef; green: PropRef; blue: PropRef}): ComputeBackedEffect
```

Import `effects` from `shaders/std` and use `effects.blurs.channelBlur`.

Each of `red`, `green` and `blue` is a prop from 0 to 100; 100 is a radius of about 10 pixels. A channel at 0 stays exactly sharp.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `opts` | `{red: PropRef; green: PropRef; blue: PropRef}` |  |

## Example

```ts
...channelBlur({red: p('redIntensity'), green: p('greenIntensity'), blue: p('blueIntensity')})
```

## See also

- [`gaussianBlur`](/docs/primitives/effects-blurs/gaussianblur) — A soft, even blur of the child.
- [`rgbSplit`](/docs/primitives/effects-blurs/rgbsplit) — The child with its red and blue pulled a little to either side, like a misaligned CRT.

## Used by

[ChannelBlur](/docs/components/channelblur)