HexColor
HexColor is a simple extension that lets you initialize UIColors the way they were meant to be initialized: With hex integer values.
Requirements
- iOS 7.0 / watchOS 2.0 / tvOS 10.0
- Xcode 9.0 (Swift 4.0)
Installation
To use HexColor with a project targeting iOS 7, simply copy HexColor.swift
into your project.
CocoaPods
To integrate HexColor into your project add the following to your Podfile
:
Carthage
To integrate Signals into your project using Carthage add the following to your Cartfile
:
Quick start
Need colors with alpha? No worries:
You can also mix two colors together easily:
Contribute
To contribute, just fork, branch & send a pull request. To get in touch, hit me up on Twitter @artman
License
HexColor is released under an MIT license. See the LICENSE file for more information