Hi @caceter,
I am sorry for the delayed reply, but I was finally able to take a look at these images.
I created a simple workflow that applies the mask to the image and then extracts the median pixel value of the background in each channel.
background-color.knwf (474.7 KB)
best,
Gabriel