The following code will convert each R, G, and B value to decimal form and save the result in the corresponding R, G, and B variable:
The Program/CodeR = int(R, 16)
G = int(G, 16)
B = int(B, 16)
This code uses the int() function with a base of 16 to convert each hexadecimal value to decimal and stores the decimal value in the same respective variable.
Read more about programs here:
https://brainly.com/question/23275071
#SPJ1