Convert RGB Image to Grayscale
A common one in use is:
Y = 0.3*R + 0.59*G + 0.11*B
RGB & LAB
https://rawpedia.rawtherapee.com/RGB_and_Lab
Color Temperature

A common one in use is:
Y = 0.3*R + 0.59*G + 0.11*B
RGB & LAB
https://rawpedia.rawtherapee.com/RGB_and_Lab