Initializes the UIColor using hexadecimal.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ColorHex.xcodeproj
ColorHex.xcworkspace
ColorHex
ColorHexDemo.xcodeproj
ColorHexDemo
ColorHex_iOSTests
ColorHex_macOSTests
.gitignore
.swift-version
.travis.yml
CHANGELOG.md
ColorHex.podspec
LICENSE
Makefile
README.md

README.md

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.