UIColorWDUtils alternatives and similar libraries
Based on the "Colors" category.
Alternatively, view UIColorWDUtils alternatives based on common mentions on social networks and blogs.
-
Chameleon
Color framework for Swift & Objective-C (Gradient colors, hexcode support, colors from images & more). -
SwiftGen-Colors
The Swift code generator for your assets, storyboards, Localizable.strings, โฆ โ Get rid of all String-based APIs! -
PrettyColors
Styles and colors text in the Terminal with ANSI escape codes. Conforms to ECMA Standard 48. -
HexColor
Utility that lets you define UIColors in Swift as they've meant to be defined: as HEX values -
ImagePalette
Swift/iOS port of Android's Palette https://developer.android.com/reference/android/support/v7/graphics/Palette.html -
Colors
A pure Swift library for using ANSI codes. Basically makes command-line coloring and styling very easy!
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of UIColorWDUtils or a related project?
README
UIColorWDUtils (Swift)
This is a simple extension for RGB(A) hex values and UIColor class. Support for RGB and RGBA as numeric values
Examples
// Class extension
let emerald = UIColor(rgb:0x2ECC71)
let darkEmerald = UIColor(rgba: emerald.toRGBA()!, blackAmount: 0.1)
let lightEmerald = UIColor(rgba: emerald.toRGBA()!, whiteAmount: 0.1)
let peterRiver = UIColor(red8Bit: 52, green8Bit: 152, blue8Bit: 219, alpha: 1.0)
// Utilities
let (redComponent, _, _, _) = WDDecomposeRGBA(emerald.toRGBA()!)
let myColorHexValue = WDCompose8bitRGBA(UInt(redComponent * 255) , 100, 200, 1.0)
License
This code is distributed under the terms and conditions of the [MIT license](LICENSE).
*Note that all licence references and agreements mentioned in the UIColorWDUtils README section above
are relevant to that project's source code only.