Swiftpack.co - Package - NormanBitSolace/BlackLabsColor

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

NormanBitSolace/BlackLabsColor

SPM Swift 5.1: Convert CSS color names and RGB hex values to UIColor. UIColor from hex 3, 4, 6, and 8 characters in length with or without # prefix. UIColor to hex. UIColor extension that creates immutable UIColor instances from hexadecimal and CSS color name strings (e.g. ff0, #f00, ff0000, ff0000ff, Pink, aZure, CLEAR, nil).

BlackLabsColor

Convert UIColor to hex and from hex 3, 4, 6, and 8 characters in length with or without # prefix. Create UIColors from CSS color names.

Installation

Swift Package Manager

If you are using Xcode 11 or later:

  1. Click File
  2. Swift Packages
  3. Add Package Dependency...
  4. Enter: https://github.com/NormanBitSolace/BlackLabsColor

Usage

image

Github

link
Stars: 0
Last commit: 2 weeks ago

Releases

- 2020-02-14T15:30:31