Method RenameColor RenameColor(string, string) Rename Color Parameter. Declaration public void RenameColor(string oldName, string newName) Parameters Type Name Description string oldName Old name. string newName New name.