UIColor-Hex

Initializes the UIColor using hexadecimal.


License
MIT
Install
pod try UIColor-Hex

Documentation

ColorHex

Version Platform Platform

Build Status Carthage compatible

Require

  • iOS 10+
  • macOS 10.13+
  • Xcode 9+

Installation

CocoaPods

pod "ColorHex"

Usage

# red
UIColor.(hex:0xff0000)

# red
UIColor.(hex:0xff0000, alpha:0.1);

Author

nakajijapan

License

ColorHex is available under the MIT license. See the LICENSE file for more info.