how to edit my object material color with rgb colors to custom color?

Hi
I want to write the code that can edit my object color with three red green blue what should i do ? :smile:

The material’s shader must have a color that you can choose. If that is given, you need to access the material from the script and simply change the color.