kazuhikoarase / qrcode-generator

QR Code Generator implementation in JavaScript, Java and more.
https://kazuhikoarase.github.io/qrcode-generator/js/demo/
MIT License
2.1k stars 674 forks source link

Set QR Custom Color #101

Open tohizma opened 3 years ago

tohizma commented 3 years ago

Is it possible to set custom color by params?

I saw it is hardcoded in default painting function, prefer not to edit your lib for easy future update

Would like to see qr.foregroundColor(#9b9b9b) and qr.backgroundColor(#ffffff)

Offcourse we should consider readability by standard QR Scanner

Thank you