A library to print colored strings, with Kotlin.
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))Add jcenter:
repositories {
jcenter()
}Add dependency:
dependencies {
implementation "com.andreapivetta.kolor:kolor:1.0.0"
}