PrettyColors alternatives and similar libraries
Based on the "Color" category.
Alternatively, view PrettyColors alternatives based on common mentions on social networks and blogs.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of PrettyColors or a related project?
import PrettyColors let redText: String = Color.Wrap(foreground: .red).wrap("A red piece of text.") println(redText) Color.Wrap(foreground: .yellow, style: .bold) Color.Wrap(foreground: .green, background: .black, style: .bold, .underlined) // 8-bit (256) color support Color.Wrap(foreground: 114) Color.Wrap(foreground: 114, style: .bold)
More examples can be found in [the tests](./Tests/UnitTests/PrettyColorsTests.swift).
Add the following to your Cartfile:
Add the following to your Podfile:
pod 'PrettyColors', :git => 'https://github.com/jdhealy/PrettyColors'
You will also need to make sure you're opting into using frameworks:
pod install with CocoaPods 0.36 or newer.
PrettyColors is released under the MIT license. See [LICENSE.md](./LICENSE.md) for details.
*Note that all licence references and agreements mentioned in the PrettyColors README section above are relevant to that project's source code only.