   equalEnough color.a.toFixed(2), 0.69
 
 test "accepts 3 numeric values", ->
-  color = Color2(34, 54, 39)
+  color = Color(34, 54, 39)
 
   equalEnough color.r, 34
   equalEnough color.g, 54

  equalEnough color.a, 1.0

test "#desaturate", ->
  color = Color2(69, 232, 150)

  color2 = color.desaturate(0.3)

  equalEnough color2.r, 100
  equalEnough color2.g, 200
  equalEnough color2.b, 150
  equalEnough color2.a, 1.0

test "#desaturate$", ->
  color = Color2(69, 232, 150)

  color.desaturate$(0.3)


  equalEnough color.a, 0.5 

test "accepts hex value of length 4 as first argument and alpha value as second argument. The alpha value takes precedence over the alpha from the hex string.", ->
  color = Color('#ef3c', 0.3)

  equalEnough color.r, 238
  equalEnough color.g, 255
