diff --git c/core/modules/color/color.admin-rtl.css i/core/modules/color/color.admin-rtl.css
index d5bfbe8..2e58f07 100644
--- c/core/modules/color/color.admin-rtl.css
+++ i/core/modules/color/color.admin-rtl.css
@@ -14,16 +14,16 @@
   padding-right: 1em;
 }
 .color-form label {
-  float: right;
   clear: right;
+  float: right;
 }
 .color-form .form-text,
 .color-form .form-select {
   float: right;
 }
 .color-form .form-text {
-  margin-right: 0;
   margin-left: 5px;
+  margin-right: 0;
 }
 #palette .hook {
   float: right;
diff --git c/core/modules/color/color.admin.css i/core/modules/color/color.admin.css
index e9aee91..5b5c156 100644
--- c/core/modules/color/color.admin.css
+++ i/core/modules/color/color.admin.css
@@ -10,20 +10,20 @@
 }
 #placeholder {
   position: absolute;
-  top: 0;
   right: 0; /* LTR */
+  top: 0;
 }
 
 /* Palette */
 .color-form .form-item {
   height: 2em;
   line-height: 2em;
-  padding-left: 1em; /* LTR */
   margin: 0.5em 0;
+  padding-left: 1em; /* LTR */
 }
 .color-form label {
-  float: left; /* LTR */
   clear: left; /* LTR */
+  float: left; /* LTR */
   width: 10em;
 }
 .color-form .form-text,
@@ -31,16 +31,16 @@
   float: left; /* LTR */
 }
 .color-form .form-text {
-  text-align: center;
-  margin-right: 5px; /* LTR */
   cursor: pointer;
+  margin-right: 5px; /* LTR */
+  text-align: center;
 }
 
 #palette .hook {
   float: left; /* LTR */
+  height: 16px;
   margin-top: 3px;
   width: 16px;
-  height: 16px;
 }
 #palette .down,
 #palette .up,
@@ -55,14 +55,14 @@
 }
 
 #palette .lock {
+  background: url(images/lock.png) no-repeat 50% 2px;
+  cursor: pointer;
   float: left; /* LTR */
+  height: 25px;
+  left: -10px; /* LTR */
   position: relative;
   top: -1.4em;
-  left: -10px; /* LTR */
   width: 20px;
-  height: 25px;
-  background: url(images/lock.png) no-repeat 50% 2px;
-  cursor: pointer;
 }
 #palette .unlocked {
   background-position: 50% -22px;
@@ -80,6 +80,6 @@
 }
 .js #preview {
   display: block;
-  position: relative;
   float: left; /* LTR */
+  position: relative;
 }
diff --git c/core/modules/color/lib/Drupal/color/Tests/ColorTest.php i/core/modules/color/lib/Drupal/color/Tests/ColorTest.php
index 8902d4c..2bb73ec 100644
--- c/core/modules/color/lib/Drupal/color/Tests/ColorTest.php
+++ i/core/modules/color/lib/Drupal/color/Tests/ColorTest.php
@@ -21,10 +21,13 @@ class ColorTest extends WebTestBase {
    */
   public static $modules = array('color');
 
-  protected $big_user;
+  protected $bigUser;
   protected $themes;
   protected $colorTests;
 
+  /**
+   * Set test information, for the testing page.
+   */
   public static function getInfo() {
     return array(
       'name' => 'Color functionality',
@@ -33,11 +36,14 @@ class ColorTest extends WebTestBase {
     );
   }
 
-  function setUp() {
+  /**
+   * Setup the test, define user, themes and colors.
+   */
+  public function setUp() {
     parent::setUp();
 
     // Create users.
-    $this->big_user = $this->drupalCreateUser(array('administer themes'));
+    $this->bigUser = $this->drupalCreateUser(array('administer themes'));
 
     // This tests the color module in Bartik.
     $this->themes = array(
@@ -49,7 +55,7 @@ class ColorTest extends WebTestBase {
     );
     theme_enable(array_keys($this->themes));
 
-    // Array filled with valid and not valid color values
+    // Array filled with valid and not valid color values.
     $this->colorTests = array(
       '#000' => TRUE,
       '#123456' => TRUE,
@@ -66,20 +72,20 @@ class ColorTest extends WebTestBase {
   /**
    * Tests the Color module functionality.
    */
-  function testColor() {
+  public function testColor() {
     foreach ($this->themes as $theme => $test_values) {
-      $this->_testColor($theme, $test_values);
+      $this->testColorOnTheme($theme, $test_values);
     }
   }
 
   /**
    * Tests the Color module functionality using the given theme.
    */
-  function _testColor($theme, $test_values) {
+  public function testColorOnTheme($theme, $test_values) {
     variable_set('theme_default', $theme);
     $settings_path = 'admin/appearance/settings/' . $theme;
 
-    $this->drupalLogin($this->big_user);
+    $this->drupalLogin($this->bigUser);
     $this->drupalGet($settings_path);
     $this->assertResponse(200);
     $edit['scheme'] = '';
@@ -121,18 +127,18 @@ class ColorTest extends WebTestBase {
   /**
    * Tests whether the provided color is valid.
    */
-  function testValidColor() {
+  public function testValidColor() {
     variable_set('theme_default', 'bartik');
     $settings_path = 'admin/appearance/settings/bartik';
 
-    $this->drupalLogin($this->big_user);
+    $this->drupalLogin($this->bigUser);
     $edit['scheme'] = '';
 
     foreach ($this->colorTests as $color => $is_valid) {
       $edit['palette[bg]'] = $color;
       $this->drupalPost($settings_path, $edit, t('Save configuration'));
 
-      if($is_valid) {
+      if ($is_valid) {
         $this->assertText('The configuration options have been saved.');
       }
       else {
