https://github.com/maximbilan/cicolorrgba
Provides a convenience CIColor method for set up a color from a HEX string in Swift
https://github.com/maximbilan/cicolorrgba
cicolor color convenience-cicolor hex ios rgba swift
Last synced: about 1 year ago
JSON representation
Provides a convenience CIColor method for set up a color from a HEX string in Swift
- Host: GitHub
- URL: https://github.com/maximbilan/cicolorrgba
- Owner: maximbilan
- License: mit
- Created: 2016-01-01T14:56:59.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-09-21T14:00:22.000Z (almost 8 years ago)
- Last Synced: 2025-02-03T14:17:46.649Z (over 1 year ago)
- Topics: cicolor, color, convenience-cicolor, hex, ios, rgba, swift
- Language: Swift
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CIColorRGBA
[](http://cocoadocs.org/docsets/CIColorRGBA)
[](http://cocoadocs.org/docsets/CIColorRGBA)
[](http://cocoadocs.org/docsets/CIColorRGBA)
[](https://cocoapods.org/pods/CIColorRGBA)
[](https://cocoapods.org/pods/CIColorRGBA)
Provides a convenience CIColor method for set up a color from a HEX string in Swift.
# Installation
CocoaPods:
pod 'CIColorRGBA'
Manual:
Copy CIColorRGBA.swift to your project.
# Using
let color = CIColor(rgba: '#134E5E')
## License
CIColorRGBA is available under the MIT license. See the LICENSE file for more info.