19 20 21
# File 'lib/color_difference/color.rb', line 19 def y @y ||= 0.2126 * xyz_r + 0.7152 * xyz_g + 0.0722 * xyz_b end