   equalEnough color.a, 0.4
 
 test "accepts an rgba string as the first argument and an alpha value as the second. The alpha value takes precedence over the alpha from the rgba string", ->
-  color = Color2('rgba(30, 20, 15, 0.8)', 0.35)
+  color = Color('rgba(30, 20, 15, 0.8)', 0.35)
 
   equalEnough color.r, 30
   equalEnough color.g, 20

  equalEnough color.a, 0.27 

test "accepts hex value of length 8 as first argument and alpha value as second argument. Alpha value takes precedence over hex alpha.", ->
  color = Color2('#ab45cd', 0.59)

  equalEnough color.r, 171
  equalEnough color.g, 69

  equalEnough weightedMixedColor.a, (0.3 * 0.1) + (0.2 * 0.9)  

test "accepts named colors", ->
  white = Color("white")

  equalEnough white.r, 255
  equalEnough white.g, 255
  equalEnough white.b, 255
  equalEnough white.a, 1.0

  piPink = Color("Paul Irish Pink")

  equalEnough piPink.r, 255
  equalEnough piPink.g, 94
