The name of the material seems to be the RS2 color code for the color.
You could try this:
Get the RGB values for every material and convert them to RS2 color codes using this:
https://repl.it/repls/ThistleExoticPlanes
Example: (255, 255, 0) using the tool.
Then just rename your material using the gathered color code.