Mass creation of materials in Revit from Excel file

Hello, I am developing a script for the massive creation of materials in Revit from an Excel file, but there is a part that I cannot develop, and that is the assignment of the RGB coordinates to each of the materials that I am creating. Can you help me please

In the Family or in the project?
please clarify

Is in the material