in reply to Re^4: Hashes, Arrays, Comparing Values to Elements
in thread Hashes, Arrays, Comparing Values to Elements

you have shown me nothing but disrespect.

I know it can feel that way but it just isn't true. Don't conflate yourself with your code. Most everyone really does want to help here and the easier it is to help, the more help you'll get.

Your problem description in your OP is difficult to follow. It sounds like you're either making a color table or live mixing some sort of palette map; or maybe something else altogether. If the first is the case, you should Google for algorithms for color tables; you'll find a few such pages here too. If you're trying to live mix a palette, that might be tricky and you should back up and describe what you want the user to see first and then the way you're trying to do it (this is the XY thing; someone asking for instructions on using a chisel when what the problem really calls for is a sander).

  • Comment on Re^5: Hashes, Arrays, Comparing Values to Elements