     public convenience init(hex color: Int, leadingAlpha: Bool = false) {
         let max = Double(Color.maxHex)
         let first = Double((color >> 24) & Color.maxHex) / max
-        let secnd = Double((color >> 16) & Color.maxHex) / max
+        let second = Double((color >> 16) & Color.maxHex) / max
         let third = Double((color >>  8) & Color.maxHex) / max
-        let forth = Double((color >>  0) & Color.maxHex) / max
+        let fourth = Double((color >>  0) & Color.maxHex) / max
         if leadingAlpha {
-            self.init(red: secnd, green: third, blue: forth, alpha: first) // ARGB
+            self.init(red: second, green: third, blue: fourth, alpha: first) // ARGB
         } else {
-            self.init(red: first, green: secnd, blue: third, alpha: forth) // RGBA
+            self.init(red: first, green: second, blue: third, alpha: fourth) // RGBA
         }
     }
 

        self.init(hex: code, leadingAlpha: leadingAlpha)
    }

    /// Initializes a new `Color` instance of given hexadecimal color values.
    ///
    /// - Parameters:
    ///   - color: The hexadecimal color value, incl. red, green, blue and alpha

            string = string.map({ "\($0)\($0)" }).joined()
        }

        // Evaluate if this is a fully fledged code with or without alpha (e.g. `ffaabb` or `ffaabb44`), otherwise throw error
        switch string.count {
        case 6: // Hex color code without alpha (e.g. ffeeaa)
            let alpha = String(Color.maxHex, radix: 16) // 0xff (opaque)
