all Colors
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)
}
Content copied to clipboard