4
How to turn a hash into a random color.. Notice that I used the expression "hash" only to say that a cluster of letters/numbers can be transformed into colors, like this:
d0be2dc421be4fcd0172e5afceea3970e2f3d940
is meaningless, meaningless but whenever this hash is used it will give a specific color and if the end is changed 0
for 1
will show another color.. or even if any part of the hash is changed it will show different colors.
Note: I think there are infinite ways to mount a hash but I’m not sure if there are infinite colors so it’s okay if different hashs give an equal color (even if it’s not ideal)
Can you understand? , the color format I would like it to be RGB but can be in style #FFFFFF
I don’t make a distinction, I thought of something like this: Take three parts of the hash one at the beginning another in the middle other at the end and work from it to pick up colors, but as I don’t know how to generate these colors after picking up these parts I come to ask help..
You can do in array and mount a reading function as the hash passed... If hash x returns color x but returns color y
– Sr. André Baill
You’ll store these hashs and colors somewhere?
– user3603