     func testInitHexAlpha() {
         let color = Color(hex: 0xFFFF00)
         
-        XCTAssertEqual(color, Color.yellow)
+        XCTAssertEqual(color, yellow)
     }
     
     func testInitHexAlphaFirst() {
         let color = Color(hex: "0FF")
-        _ = Color(hex: "00FF", alphaFirst: true)
-        _ = Color(hex: "0FF0")
+        let color2 = Color(hex: "00FF", alphaFirst: true)
+        let color3 = Color(hex: "0FF0")
         let color4 = Color(hex: "00FFFF")
         let color5 = Color(hex: "#00FFFFFF", alphaFirst: false)
         let color6 = Color(hex: "#FF00FFFF", alphaFirst: true)
         
-        XCTAssertEqual(color, Color.cyan)
-        //XCTAssertEqual(color2, Color.cyan)
-        //XCTAssertEqual(color3, Color.cyan)
-        XCTAssertEqual(color4, Color.cyan)
-        XCTAssertEqual(color5, Color.cyan)
-        XCTAssertEqual(color6, Color.cyan)
+        XCTAssertEqual(color, cyan)
+        XCTAssertEqual(color2, cyan.withAlphaComponent(0))
+        XCTAssertEqual(color3, cyan.withAlphaComponent(0))
+        XCTAssertEqual(color4, cyan)
+        XCTAssertEqual(color5, cyan)
+        XCTAssertEqual(color6, cyan)
     }
     
     func testContrasting() {

@testable import BFKit

class UIColorExtensionTests: XCTestCase {
    override func setUp() {
        super.setUp()
    }

    func testRGBA() {
        let color = RGBA(255, 0, 0, 1)
        
        XCTAssertEqual(color, red)
    }
    
    func testARGB() {
        let color = ARGB(1, 0, 255, 0)
        
        XCTAssertEqual(color, green)
    }
    
    func testRGB() {
        let color = RGB(0, 0, 255)
        
        XCTAssertEqual(color, blue)
    }
    
    func testRedComponent() {
