# Color matrix filter

Source: https://ref.dm-lang.org/notes/filters/color
Added in BYOND 513.

**Format**

> filter(type="color", ...)

**Args**

> color: A color matrix

Applies a color matrix to this image. Unlike with the atom.color var, you can apply color conversions other than the regular RGBA color space, depending on the value of `space`. See [Color space](https://ref.dm-lang.org/appendix/color-space.md) for more information.

### See also
- [color var (atom)](https://ref.dm-lang.org/atom/var/color.md)
- [Color matrix](https://ref.dm-lang.org/notes/color-matrix.md)
- [Color space](https://ref.dm-lang.org/appendix/color-space.md)
