Popularity
1.1
Growing
Activity
0.0
Stable
28
5
3
Code Quality Rank:
L5
Programming language: Swift
License: MIT License
Tags:
Colors
Colors alternatives and similar libraries
Based on the "Colors" category.
Alternatively, view Colors 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 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
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai

* 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 Colors or a related project?
README
Colors
A pure Swift library for using ANSI codes. Basically makes command-line coloring and styling very easy!
Note: Colors master
requires Xcode 7.3 / Swift 2.2.
Usage
Colors aims to have a simple and self-explanatory API.
import Colors
// one style
println("foo".red)
// multiple styles
println("foo".red.bold)
// multiple style sets
println("foo".red.bold + "bar".blue)
// grouped styling
println(("foo".red + "bar".blue).bold.underline)
// resets
println(("foo".red + "bar".blue).reset.red.underline.bold)