         return Date.random()
     }
 
-    public static func randomColor(_ randomAlpha: Bool = false) -> UIColor {
-        return UIColor.random(randomAlpha)
+    public static func randomColor(_ randomAlpha: Bool = false) -> RSColor {
+        return RSColor.random(randomAlpha)
     }
 
     public static func randomNSURL() -> URL {

        session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) in
            DispatchQueue.main.async {
                if error == nil {
                    completion?(UIImage(data: data!), nil)
                } else {
                    completion?(nil, error)
                }

        static let allValues = [Standard, MM, Identicon, MonsterID, Wavatar, Retro]
    }

    public static func createGravatar(_ style: Randoms.GravatarStyle = .Standard, size: Int = 80, completion: ((_ image: RSImage?, _ error: Error?) -> Void)?) {
        var url = "https://secure.gravatar.com/avatar/thisimagewillnotbefound?s=\(size)"
        if style != .Standard {
            url += "&d=\(style.rawValue.lowercased())"
