---
title: "Color grading implementation"
sidebarTitle: "Color grading"
description: "Persist, automate, animate, and spatially isolate media color grading."
---
Use this reference when browser editor controls are not enough: you need to write a
grade into HTML, apply it from automation, animate a supported property, or
limit an effect to a composited region. For visual correction and everyday
browser editor use, start with [Color grading](/guides/media-effects#fix-and-grade-the-color).
## Persist a grade
The browser editor and the CLI store the resolved grade in `data-color-grading`:
```html
```
Apply the same validated payload from the CLI:
```bash
npx hyperframes media-treatment \
--selector '#interview' \
--grading '{"preset":"skin-soft","intensity":0.7}' \
--apply
```
Add `--dry-run --json` to inspect the change without writing it. Use `--clear`
to remove the treatment.
## Grade a whole lane
A camera cut into hundreds of clips takes one grade, set once. Put the grade
on an `` and point each clip at it with `data-color-group`:
```html
```
- `data-color-grading` on the group takes the same JSON as on a clip. Editing it
regrades every member, in preview and in render.
- `data-color-group` goes on the `