         return (red << 16) + (green << 8) + blue;
     }
     
-    //0x66ccffff
+    /// ex: 0x66ccffff
     public var m_RGBAHex: Int{
         var r: CGFloat = 0 ,g: CGFloat = 0,b: CGFloat = 0,a: CGFloat = 0
         getRed(&r, green: &g, blue: &b, alpha: &a)

import UIKit

extension UIColor {
    // init method with RGB values from 0 to 255, instead of 0 to 1. With alpha(default:1)
    public convenience init(r: CGFloat, g: CGFloat, b: CGFloat, a: CGFloat = 1) {
        self.init(red: r / 255.0, green: g / 255.0, blue: b / 255.0, alpha: a)
    }
    
    // init method with hex string and alpha(default: 1) ex: "0x111111","#111111"
    public convenience init?(hexString: String, alpha: CGFloat = 1.0) {
        var formatted = hexString.replacingOccurrences(of: "0x", with: "")
        formatted = formatted.replacingOccurrences(of: "#", with: "")

        }
    }
    
    /// init
    ///
    /// - Parameters:
    ///   - rgbHex: hex int
    ///   - alpha: alpha(default: 1)
    public convenience init(rgbHex: Int, alpha: CGFloat = 1) {
        let red = (rgbHex >> 16) & 0xFF
        let green = (rgbHex >> 8) & 0xFF
