Let's say i first have a list of objects with properties of r, g, b values that would look something like this:
let color_pixels = [{r: 100, g: 20, b: 40}, {r: 80, g: 50, b: 30}];
let image = function(color_pixels) {
}
How would i go about multiplying each property and updating the array with the multiplied properties in a function?