# File lib/color/yiq.rb, line 18 def self.from_fraction(y = 0, i = 0, q = 0) color = Color::YIQ.new color.y = y color.i = i color.q = q color end