allColors

fun allColors(): Map<String, Int>

Just a convenience for developers to go through all colors and see which is nicer :)

Try something like this:

Colors.allColors().forEach { (color, value) ->
val file = FileOutputStream("qrcode_$color.png")
QRCode(color).render(darkColor = value).writeImage(file)
}