io.sureshg.extn / kotlin.String / bg256

bg256

fun String.bg256(code: Int): String

Returns background colored string with given color code.

fun String.bg256(): String

Returns background colored string with random color.