luci-base: generalize random color generation
authorAnsuel Smith <redacted>
Tue, 17 Nov 2020 23:48:08 +0000 (00:48 +0100)
committerAnsuel Smith <redacted>
Tue, 17 Nov 2020 23:48:16 +0000 (00:48 +0100)
commit44d02afab15f3e7b30d6f5c24854e850b20dba57
tree245516458dd051eb539a3a6baf523adb67e1c3b4
parent1da9df837685b3a2afc80125d056e37198933533
luci-base: generalize random color generation

Generation of pseudo random hex color from a string can be useful also for other task. Generalize it to make it available also for other purpose.

Signed-off-by: Ansuel Smith <redacted>
modules/luci-base/htdocs/luci-static/resources/firewall.js
modules/luci-base/htdocs/luci-static/resources/tools/prng.js
git clone https://git.99rst.org/PROJECT