Popularity
3.7
Growing
Activity
0.0
Stable
42
3
1

Programming language: Kotlin
Tags: Misc    
Latest version: v0.0.2

kolor alternatives and similar libraries

Based on the "Misc" category

Do you think we are missing an alternative of kolor or a related project?

Add another 'Misc' Library

README

kolor

CircleCI Download
A library to print colored strings, with Kotlin. (Tested on Linux only)

[Screenshot](screenshots/screenshot.png)

Example

Foreground:

println("We all live in a yellow submarine".yellow())
// Or
println(Kolor.foreground("We all live in a yellow submarine", Color.YELLOW))

Background:

println("I'm blue da ba dee da ba daa".blueBackground())
// Or
println(Kolor.background("I'm blue da ba dee da ba daa", Color.BLUE))

Usage

Add jcenter:

repositories {
    jcenter()
    ...
}

Add dependency:

dependencies {
    compile "com.andreapivetta.kolor:kolor:0.0.2"
    ...
}