 import UIKit
 
 extension UIColor {
-    // init method with RGB values from 0 to 255, instead of 0 to 1. With alpha(default:1)
+    
+    /// init
+    ///
+    /// - Parameters:
+    ///   - r: RGB values from 0 to 255, instead of 0 to 1.
+    ///   - g: RGB values from 0 to 255, instead of 0 to 1.
+    ///   - b: RGB values from 0 to 255, instead of 0 to 1.
+    ///   - a: 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"
+    /// init?
+    ///
+    /// - Parameters:
+    ///   - hexString: hex string, ex: "0x111111","#111111"
+    ///   - alpha: alpha(default:1)
     public convenience init?(hexString: String, alpha: CGFloat = 1.0) {
         var formatted = hexString.replacingOccurrences(of: "0x", with: "")
         formatted = formatted.replacingOccurrences(of: "#", with: "")

    }
    
    //  Returns random UIColor with random alpha(default: false)
    public static func m_randomColor(_ isRandomAlpha: Bool = false) -> UIColor {
        func random() -> CGFloat {
            let upper = 255;

        return UIColor(red: randomRed, green: randomGreen, blue: randomBlue, alpha: alpha)
    }
    
    
    /// ex: 0x66ccff
    public var m_RGBHex: Int{
        var r: CGFloat = 0 ,g: CGFloat = 0,b: CGFloat = 0
        getRed(&r, green: &g, blue: &b, alpha: nil)
