Color.from_yuv

classmethod Color.from_yuv(y, u, v)

Construct a color from components in the YUV color space.

Parameters
  • y (float) – Luma.

  • u (float) – Blue projection chroma.

  • v (float) – Red projection chroma.

Returns

Color

See also

https

//en.wikipedia.org/wiki/YUV