mardi 16 juin 2015

I want to map shades of html colors with specific values for each shade, but I don't want to hardcode all 21 shades.

I have a table on my computer with values and I want to associate those values with specific html shades of a specific color (probably some hash map). I chose to use red, but the color is arbitrary. Here are the shades I am using: http://ift.tt/1lurpDZ

I don’t want to hardcode the 21 different shades but I can't seem to see some pattern that the shades have. Is there any way for me to do this without actually have to hardcode all 21 shades?

Aucun commentaire:

Enregistrer un commentaire