Readonly
fullThe fullRange
read-only property of the VideoColorSpace interface returns true
if full-range color values are used.
Readonly
matrixThe matrix
read-only property of the VideoColorSpace interface returns the matrix coefficient of the video.
Readonly
primariesThe primaries
read-only property of the VideoColorSpace interface returns the color gamut of the video.
Readonly
transferThe transfer
read-only property of the VideoColorSpace interface returns the opto-electronic transfer characteristics of the video.
The toJSON()
method of the VideoColorSpace interface is a serializer that returns a JSON representation of the VideoColorSpace
object.
The
VideoColorSpace
interface of the WebCodecs API represents the color space of a video.MDN Reference