Method: Colors::Convert.xyy_to_xyz
- Defined in:
- lib/colors/convert.rb
.xyy_to_xyz(x, y, large_y) ⇒ Object
xyY -> ???
224 225 226 227 228 |
# File 'lib/colors/convert.rb', line 224 def xyy_to_xyz(x, y, large_y) large_x = large_y*x/y large_z = large_y*(1 - x - y)/y [large_x, large_y, large_z] end |