I was wondering if there was a way I can grab the color values of a pixel in an object and use them in something like the rgbex expression.
Develop games in your browser. Powerful, performant & highly capable.
Try using the Drawing Canvas snapshots feature.