# @dioramajs/media/chroma

Exports of @dioramajs/media/chroma.

## Functions and values

- [default](/docs/api/media-chroma/default.md): A video shot on a green or blue screen, composited over the page with the screen keyed out: a "transparent" product or presenter video in every browser, from one ordinary MP4 or WebM. Keys by the distance of each pixel's chroma over luma from the screen colour, takes the key's hue out of the edges (spill) and averages the key over a few taps (blur). With `auto` the key is read from the frame's top corners every frame. The `<video>` stays the source of truth: the site plays and pauses it; the copy draws its keyed frames while it plays and its keyed poster before it does.
