class Color::YIQ

A Color object representing YIQ (NTSC) color encoding, where Y is the luma (brightness) value, and I (orange-blue) and Q (purple-green) are chrominance.

All values are clamped between 0 and 1 inclusive.

More more details, see YIQ.

YIQ colors are immutable Data class instances. Array deconstruction is [y, i, q] and hash deconstruction is {y:, i:, q:} (see y, i, q).

YIQ is only partially implemented: other Color objects can only be converted to YIQ, but it has few conversion functions for converting from YIQ.