Is there a best practice on how to hash an arbitrary string into a RGB color value? Or to be more general: to 3 bytes.
You\'re asking: When will I ever need this? It doe
I just build a JavaScript library named color-hash, which can generate color based on the given string (using HSL color space and BKDRHash).
Repo: https://github.com/zenozeng/color-hash Demo: https://zenozeng.github.io/color-hash/demo/