     to: (tuple) -> tuple
     from: (tuple) -> tuple
   _sRGB:
-    to: (tuple) ->
-      _X = tuple[0]
-      _Y = tuple[1]
-      _Z = tuple[2]
+    to: (_X, _Y, _Z) ->
       from_linear = (c) ->
         a = 0.055
         if c <= 0.0031308

      res = matrix_mult m, [[rl], [gl], [bl]]
      [res[0][0], res[1][0], res[2][0]]
  _CIExyY:
    to: (tuple) ->
      _X = tuple[0]
      _Y = tuple[1]
      _Z = tuple[2]
      sum = _X + _Y + _Z
      [_X / sum, _Y / sum, _Y]
    from: (tuple) ->
      _x = tuple[0]
      _y = tuple[1]
      _Y = tuple[2]
      _X = _Y / _y * _x
      _Z = _Y / _y * (1 - _x - _y)
      [_X, _Y, _X]
  _CIELAB:
    to: (tuple) ->
      _X = tuple[0]
      _Y = tuple[1]
      _Z = tuple[2]
      f = (t) ->
        if t > Math.pow(6 / 29, 3)
          Math.pow(t, 1 / 3)

      _G = from_linear res[1][0]
      _B = from_linear res[2][0]
      [_R, _G, _B]
    from: (_R, _G, _B) ->
      to_linear = (c) ->
        a = 0.055
        if c <= 0.04045
