Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lbrndnr/spectral

A µframework that adds hex support to UIColor/NSColor
https://github.com/lbrndnr/spectral

Last synced: about 2 months ago
JSON representation

A µframework that adds hex support to UIColor/NSColor

Awesome Lists containing this project

README

        

# Spectral

[![Twitter: @lbrndnr](https://img.shields.io/badge/[email protected]?style=flat)](https://twitter.com/lbrndnr)
[![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/lbrndnr/ImagePickerSheetController/blob/master/LICENSE)
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

## About
Spectral is a µframework that adds hex support to UIColor/NSColor.

You can use it as follows:
```swift
let color = UIColor(hex: 0xFFFFFF)
let value = color.hexValue
```

## Installation

### CocoaPods
```ruby
pod "Spectral", "~> 0.0.2"
```

###Carthage
```objc
github "lbrndnr/Spectral" ~> 0.0.2
```

## Author
I'm Laurin Brandner, I'm on [Twitter](https://twitter.com/larcus94).

## License
Spectral is licensed under the [MIT License](http://opensource.org/licenses/mit-license.php).