This is what I was doing on the car ride home from Easter. It’s for the colors of my heatmap. It takes white and starts decreasing the blue and then the green to make red eventually. So this heatmap will look like a scale from white to yellow to orange to red. I’m really excited to implement it this week to see how it will look.
I will say, I did try to convert the ARGB value to the int32 value. For example, white is -1 and red is -65536. I thought I would be making it easy for myself if I just decreased that value, but I didn’t think too hard about it. What that ends up looking like is from white to yellow to white to yellow over and over again until it gets to red. The BLUE decreases from 255 to 0, and then decreases the GREEN by 1 each time.
We’re close to the finishing line!
Leave a Reply