FlatUIColors alternatives and similar libraries
Based on the "Colors" category.
Alternatively, view FlatUIColors alternatives based on common mentions on social networks and blogs.
-
Chameleon
DISCONTINUED. 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! -
Colors Extension
Colors is a Swift Package to enable all system colors in SwiftUI trough a Color extension. Colors which were previously only available in UIColor/NSColor are now available in Color as well.
CodeRabbit: AI Code Reviews for Developers
* 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 FlatUIColors or a related project?
README
FlatUIColors (swift)
install
Make sure you have the latest version of CocoaPods (gem install cocoapods
) that has Swift support. At the time of this writing, that would be 0.39.0
.
Add to your Podfile
:
pod 'FlatUIColors'
And then from the shell:
$ pod install
use
There are a number of static functions defined on the struct FlatUIColors
that return
UIColor
or NSColor
objects. The return type of these functions is OSColor
, which
is a platform-aware typealias
.
Just import
and use:
import FlatUIColors
let turquoise: NSColor = FlatUIColors.turquoise()
// Optional CGFloat for setting alpha value
let emerald: UIColor = FlatUIColors.emerald(0.25)
The following is a list of all of the static color functions defined on struct FlatUIColors
.
public static func turquoise() -> OSColor!
public static func greenSea() -> OSColor!
public static func mediumTurquoise() -> OSColor!
public static func lightSeaGreen() -> OSColor!
public static func emerald() -> OSColor!
public static func nephritis() -> OSColor!
public static func gossip() -> OSColor!
public static func salem() -> OSColor!
public static func peterRiver() -> OSColor!
public static func belizeHole() -> OSColor!
public static func riptide() -> OSColor!
public static func dodgerBlue() -> OSColor!
public static func amethyst() -> OSColor!
public static func wisteria() -> OSColor!
public static func lightWisteria() -> OSColor!
public static func plum() -> OSColor!
public static func wetAsphalt() -> OSColor!
public static func midnightBlue() -> OSColor!
public static func hoki() -> OSColor!
public static func ebonyClay() -> OSColor!
public static func sunflower() -> OSColor!
public static func tangerine() -> OSColor!
public static func confetti() -> OSColor!
public static func capeHoney() -> OSColor!
public static func carrot() -> OSColor!
public static func pumpkin() -> OSColor!
public static func ecstasy() -> OSColor!
public static func jaffa() -> OSColor!
public static func alizarin() -> OSColor!
public static func pomegranate() -> OSColor!
public static func monza() -> OSColor!
public static func thunderBird() -> OSColor!
public static func clouds() -> OSColor!
public static func silver() -> OSColor!
public static func gallery() -> OSColor!
public static func iron() -> OSColor!
public static func concrete() -> OSColor!
public static func asbestos() -> OSColor!
public static func pumice() -> OSColor!
public static func lynch() -> OSColor!
contributors / authors
bryn austin bellomy < [email protected] >
aleksandar kex trpeski < [email protected] >
valentine silvansky < silvansky >
morita naoki < [email protected] >
angel vazquez < @avzquez >