   equalEnough color.a, 1.0
 
 test "#complement", ->
-  color = Color(10, 30, 50)
-
-  Color = color.complement()
-
-  equalEnough Color.r, 51
-  equalEnough Color.g, 31
-  equalEnough Color.b, 10
-  equalEnough Color.a, 1.0
-
-test "#complement$", ->
-  color = Color(10, 30, 50)
-
-  color.complement$()
+  color = Color(10, 30, 50).complement()
 
   equalEnough color.r, 51
   equalEnough color.g, 31
   equalEnough color.b, 10
   equalEnough color.a, 1.0
 
+test "#complement$", ->
+  color = Color(10, 30, 50)
+
+  color.complement$()
+
+  equalEnough color.r, 51
+  equalEnough color.g, 31
+  equalEnough color.b, 10
+  equalEnough color.a, 1.0
+
 test "#grayscale", ->
-  color = Color(30, 40, 29)
-
-  Color = color.grayscale()
-
-  equalEnough Color.r, 35
-  equalEnough Color.g, 35
-  equalEnough Color.b, 35
-  equalEnough Color.a, 1.0
-
-test "#grayscale$", ->
-  color = Color(30, 40, 29)
-
-  color.grayscale$()
+  color = Color(30, 40, 29).grayscale()
 
   equalEnough color.r, 35
   equalEnough color.g, 35
   equalEnough color.b, 35
   equalEnough color.a, 1.0
 
+test "#grayscale$", ->
+  color = Color(30, 40, 29)
+
+  color.grayscale$()
+
+  equalEnough color.r, 35
+  equalEnough color.g, 35
+  equalEnough color.b, 35
+  equalEnough color.a, 1.0
+
 test "#saturate", ->
-  color = Color(100, 200, 150)
-
-  Color = color.saturate(0.3)
-
-  equalEnough Color.r, 69
-  equalEnough Color.g, 232
-  equalEnough Color.b, 150
-  equalEnough Color.a, 1.0
-
-test "#saturate$", ->
-  color = Color(100, 200, 150)
-
-  color.saturate$(0.3)
+  color = Color(100, 200, 150).saturate(0.3)
 
   equalEnough color.r, 69
   equalEnough color.g, 232
   equalEnough color.b, 150
   equalEnough color.a, 1.0
 
+test "#saturate$", ->
+  color = Color(100, 200, 150)
+
+  color.saturate$(0.3)
+
+  equalEnough color.r, 69
+  equalEnough color.g, 232
+  equalEnough color.b, 150
+  equalEnough color.a, 1.0
+
 test "#desaturate", ->
-  color = Color(69, 232, 150)
-
-  Color = color.desaturate(0.3)
-
-  equalEnough Color.r, 100
-  equalEnough Color.g, 200
-  equalEnough Color.b, 150
-  equalEnough Color.a, 1.0
-
-test "#desaturate$", ->
-  color = Color(69, 232, 150)
-
-  color.desaturate$(0.3)
+  color = Color(69, 232, 150).desaturate(0.3)
 
   equalEnough color.r, 100
   equalEnough color.g, 200
   equalEnough color.b, 150
   equalEnough color.a, 1.0
 
+test "#desaturate$", ->
+  color = Color(69, 232, 150)
+
+  color.desaturate$(0.3)
+
+  equalEnough color.r, 100
+  equalEnough color.g, 200
+  equalEnough color.b, 150
+  equalEnough color.a, 1.0
+
 test "#darken", ->
-  color = Color(45, 64, 39)
-
-  Color = color.darken(0.1)
-
-  equalEnough Color.r, 22
-  equalEnough Color.g, 32
-  equalEnough Color.b, 19
-  equalEnough Color.a, 1.0
-
-test "#darken$", ->
-  color = Color(45, 64, 39)
-
-  color.darken$(0.1)
+  color = Color(45, 64, 39).darken(0.1)
 
   equalEnough color.r, 22
   equalEnough color.g, 32
   equalEnough color.b, 19
   equalEnough color.a, 1.0
 
+test "#darken$", ->
+  color = Color(45, 64, 39)
+
+  color.darken$(0.1)
+
+  equalEnough color.r, 22
+  equalEnough color.g, 32
+  equalEnough color.b, 19
+  equalEnough color.a, 1.0
+
 test "#lighten", ->
-  color = Color(22, 32, 19)
-
-  Color = color.lighten(0.1)
-
-  equalEnough Color.r, 45
-  equalEnough Color.g, 64
-  equalEnough Color.b, 39
-  equalEnough Color.a, 1.0
-
-test "#lighten$", ->
-  color = Color(22, 32, 19)
-
-  color.lighten$(0.1)
+  color = Color(22, 32, 19).lighten(0.1)
 
   equalEnough color.r, 45
   equalEnough color.g, 64
   equalEnough color.b, 39
   equalEnough color.a, 1.0
 
+test "#lighten$", ->
+  color = Color(22, 32, 19)
+
+  color.lighten$(0.1)
+
+  equalEnough color.r, 45
+  equalEnough color.g, 64
+  equalEnough color.b, 39
+  equalEnough color.a, 1.0
+
 test "#mixWith", ->
   color1 = Color(50, 40, 60, 0.3)
-  Color = Color(10, 5, 16, 0.2)
-
-  mixedColor = color1.mixWith(Color)
+  color2 = Color(10, 5, 16, 0.2)
+
+  mixedColor = color1.mixWith(color2)
 
   equalEnough mixedColor.r, 30
   equalEnough mixedColor.g, (45 / 2).round()
   equalEnough mixedColor.b, (76 / 2).round()
   equalEnough mixedColor.a, 0.5 / 2
 
-  weightedMixedColor = color1.mixWith(Color, 0.1)
+  weightedMixedColor = color1.mixWith(color2, 0.1)
 
   equalEnough weightedMixedColor.r, ((50 * 0.1) + (10 * 0.9)).round()
   equalEnough weightedMixedColor.g, ((40 * 0.1) + (5 * 0.9)).round()

  equalEnough hsl[3], 1.0

test "#hue", ->
  color = Color(34, 54, 239)

  Color = color.hue(20)

  equalEnough Color.r, 84
  equalEnough Color.g, 37
  equalEnough Color.b, 239
  equalEnough Color.a, 1.0

test "#hue$", ->
  color = Color(34, 54, 239)


test "#equal", ->
  color1 = Color(255, 255, 255, 1)
  color2 = Color([255, 255, 255])

  ok color1.equal(color2)

test "#toString", ->
  noAlpha = Color(30, 40, 23)
