kVideoColorRange
Electron APIs / recorder / kVideoColorRange
type kVideoColorRange = "Partial" | "Full";
Specifies the color range used during video capture or encoding.
This setting determines how color values are scaled, which impacts brightness and contrast. It is important to match the color range to the target display or encoder to avoid washed-out or crushed colors.
| Value | Description |
|---|---|
'Partial' | Uses limited color range (typically 16–235 for luma), common in broadcast and traditional video content. |
'Full' | Uses the full color range (0–255), typical for computer monitors and PC gaming content. |
Example
const range: kVideoColorRange = "Full";