https://github.com/maximbilan/uicolorrgba
Provides a convenience UIColor method for set up a color from a HEX string in Swift.
https://github.com/maximbilan/uicolorrgba
color convenience-uicolor ios rgba swift ui uicolor
Last synced: 2 months ago
JSON representation
Provides a convenience UIColor method for set up a color from a HEX string in Swift.
- Host: GitHub
- URL: https://github.com/maximbilan/uicolorrgba
- Owner: maximbilan
- License: mit
- Created: 2015-08-06T17:33:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-07-10T05:59:13.000Z (over 4 years ago)
- Last Synced: 2025-01-30T17:02:46.921Z (12 months ago)
- Topics: color, convenience-uicolor, ios, rgba, swift, ui, uicolor
- Language: Swift
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UIColorRGBA
[](http://cocoadocs.org/docsets/UIColorRGBA)
[](http://cocoadocs.org/docsets/UIColorRGBA)
[](http://cocoadocs.org/docsets/UIColorRGBA)
[](https://cocoapods.org/pods/UIColorRGBA)
[](https://cocoapods.org/pods/UIColorRGBA)
Provides a convenience UIColor method for set up a color from a HEX string in Swift.
# Installation
CocoaPods:
pod 'UIColorRGBA'
Manual:
Copy UIColorRGBA.swift to your project.
# Using
let color = UIColor(rgba: '#134E5E')
## License
UIColorRGBA is available under the MIT license. See the LICENSE file for more info.