Popularity
3.9
Growing
Activity
2.9
Declining
56
3
2

Programming language: Kotlin
Tags: Misc    
Latest version: v1.0.0

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

Java CI Download
A library to print colored strings, with Kotlin.

[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 {
    implementation "com.andreapivetta.kolor:kolor:1.0.0"
}