HexColor alternatives and similar libraries
Based on the "Colors" category.
Alternatively, view HexColor alternatives based on common mentions on social networks and blogs.
Chameleon9.9 0.0 HexColor VS ChameleonColor framework for Swift & Objective-C (Gradient colors, hexcode support, colors from images & more).
SwiftGen-Colors9.8 9.2 L5 HexColor VS SwiftGen-ColorsThe Swift code generator for your assets, storyboards, Localizable.strings, … — Get rid of all String-based APIs!
Hue9.1 0.0 L2 HexColor VS Hue:art: Hue is the all-in-one coloring utility that you'll ever need.
DynamicColor8.7 0.0 L5 HexColor VS DynamicColorYet another extension to manipulate colors easily in Swift and SwiftUI
UIColor-Hex-Swift7.5 4.4 L5 HexColor VS UIColor-Hex-SwiftConvenience methods for creating color using RGBA hex string.
SwiftHEXColors6.5 3.0 L5 HexColor VS SwiftHEXColorsHEX color handling as an extension for UIColor.
Gradients6.4 0.0 HexColor VS Gradients🌔 A curated collection of splendid 180+ gradients made in swift
ChromaColorPicker6.1 0.0 HexColor VS ChromaColorPicker:art: An intuitive iOS color picker built in Swift.
RandomColorSwift6.0 0.0 L4 HexColor VS RandomColorSwiftAn attractive color generator for Swift. Ported from randomColor.js.
ColorKit5.8 0.0 HexColor VS ColorKitAdvanced color manipulation for iOS.
UIGradient4.1 2.5 HexColor VS UIGradientA simple and powerful library for using gradient layer, image, color
FlatUIColors3.5 0.0 L4 HexColor VS FlatUIColorsFlat UI color palette helpers written in Swift.
PrettyColors3.4 0.0 L5 HexColor VS PrettyColorsStyles and colors text in the Terminal with ANSI escape codes. Conforms to ECMA Standard 48.
SheetyColors2.6 0.0 HexColor VS SheetyColorsAn action sheet styled color picker for iOS.
AEConicalGradient2.3 0.0 L5 HexColor VS AEConicalGradientConical (angular) gradient for iOS written in Swift
Colorify2.3 0.0 HexColor VS ColorifyColorify
ImagePalette2.1 0.0 L5 HexColor VS ImagePaletteSwift/iOS port of Android's Palette https://developer.android.com/reference/android/support/v7/graphics/Palette.html
CSS3ColorsSwift1.5 0.0 L5 HexColor VS CSS3ColorsSwiftA UIColor extension with CSS3 Color names.
Google Material Color1.4 0.0 L4 HexColor VS Google Material ColorGoogle Material Color Palette in Swift
UIColor-WikiColors1.4 0.0 HexColor VS UIColor-WikiColorsAll wikipedia colors implemented as easy to use UIColor extension 🌈
Colors0.9 0.0 L5 HexColor VS ColorsA pure Swift library for using ANSI codes. Basically makes command-line coloring and styling very easy!
UIColorWDUtils0.2 0.0 L5 HexColor VS UIColorWDUtilsAn iOS Swift UIColor extension
Appwrite - The Open Source Firebase alternative introduces iOS support
* 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 HexColor or a related project?
HexColor is a simple extension that lets you initialize UIColors the way they were meant to be initialized: With hex integer values.
- iOS 7.0 / watchOS 2.0 / tvOS 10.0
- Xcode 9.0 (Swift 4.0)
To use HexColor with a project targeting iOS 7, simply copy
HexColor.swift into your project.
To integrate HexColor into your project add the following to your
platform :ios, '8.0' use_frameworks! pod 'HxColor', '~> 4.0'
To integrate Signals into your project using Carthage add the following to your
github "artman/HexColor" ~> 4.0
myLabel.textColor = UIColor(0xFFFFFF) // Let there be white myView.backgroundColor = UIColor(0x0f126f) // Deep blue // Yay, finally you can stop to use this crap: // UIColor.colorWithRed(0x0f/255.0, green: 0x12/255.0, blue: 0x65/255.0, 1.0)
Need colors with alpha? No worries:
myLabel.textColor = UIColor(0xFF0000).alpha(0.5) // Red with 50% opacity myLabel.textColor = UIColor(0xFF0000, alpha: 0.5) // Another way to do this
You can also mix two colors together easily:
myLabel.textColor = UIColor(0x3377FF).mix(with: 0xFF2222, amount: 0.25)
To contribute, just fork, branch & send a pull request. To get in touch, hit me up on Twitter @artman
HexColor is released under an MIT license. See the LICENSE file for more information
*Note that all licence references and agreements mentioned in the HexColor README section above are relevant to that project's source code only.