Write the formula for the mathematical function that takes as input an RGB color vector and yields as output the RGB color vector that is the unique shade of gray whose total amount of light is equal to that of the input.
Answer: , ,

You can earn partial credit on this problem.