each pixel's rgb value is stored in a list scratch's "set color" block actually recognizes this format, so it can change the color of the pen to the data in the list click to see the list
original artwork is by rheasimone1