Derive pseudo-random colours for strings

$ luarocks install rgbstr

This library takes strings and (using a VERY simple hashing function) returns a pseudo-random RGB colour.
Similar strings (including anagrams) don't generally produce similar colours (although this can still happen by
chance).
Its main purpose is to automatically add colours to visually distinguish small pieces of text, like category tags,
or other plain text or numeric identifiers like tags on a blog, pointers in some debug output, etc.

Versions

dev-1dev1 year ago0 downloads
0.1.0-11 year ago43 downloads

Manifests