VideoColorSpace: fullRange property

The fullRange read-only property of the VideoColorSpace interface returns true if full-range color values are used.

Value

A Boolean, true if full-range color values are used.

Examples

In the following example, colorSpace is a VideoColorSpace object returned from VideoFrame. The value of fullRange is printed to the console.

js

let colorSpace = VideoFrame.colorSpace;
console.log(colorSpace.fullRange);

Specifications

Specification
WebCodecs
# dom-videocolorspace-fullrange

Browser compatibility

BCD tables only load in the browser