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

compas.colors.Color

See also

https

//en.wikipedia.org/wiki/YUV