---
title: colorMatrixFromYCbCrToDesiredRGB()
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [fxplug 4.0+]
path: professional_video_applications/fxcolorgamutapi_v2/colormatrixfromycbcrtodesiredrgb()
---

# colorMatrixFromYCbCrToDesiredRGB()

Returns a color matrix that is appropriate for converting RGB values from YCbCr to an RGB value in the project’s working gamut.

## Declaration

```swift
func colorMatrixFromYCbCrToDesiredRGB() -> FxMatrix44!
```

## Mentioned in

Managing color space and gamut in plug-ins

## Return Value

Return Value A 4x4 matrix for converting an RGB value into YCbCr.

## See Also

### Getting Color Gamut Information

- [colorMatrixFromDesiredRGBToYCbCr()](professional_video_applications/fxcolorgamutapi_v2/colormatrixfromdesiredrgbtoycbcr().md)
- [colorPrimaries()](professional_video_applications/fxcolorgamutapi_v2/colorprimaries().md)
