# File lib/color/yiq.rb, line 41
41:   def ==(other)
42:     other = other.to_yiq
43:     other.kind_of?(Color::YIQ) and
44:     ((@y - other.y).abs <= 1e-4) and
45:     ((@i - other.i).abs <= 1e-4) and
46:     ((@q - other.q).abs <= 1e-4) 
47:   end