Color.from_yiq

classmethod Color.from_yiq(y, i, q)

Construct a color from components in the YIQ color space.

Parameters
  • y (float) – Luma.

  • i (float) – Orange-blue chroma.

  • q (float) – Purple-green chroma.

Returns

compas.colors.Color

See also

https

//en.wikipedia.org/wiki/YIQ