! Copyright (C) 2012 John Benediktsson
! See http://factorcode.org/license.txt for BSD license
-USING: accessors colors combinators kernel locals math
+USING: accessors colors combinators kernel math
math.order ;
IN: colors.yiq
-TUPLE: yiqa < color
+TUPLE: yiqa
{ y read-only }
{ in-phase read-only }
{ quadrature read-only }
C: <yiqa> yiqa
+INSTANCE: yiqa color
+
M: yiqa >rgba
{
[ y>> ] [ in-phase>> ] [ quadrature>> ] [ alpha>> ]