Material functions allow you to create complex materials and collapse them into a single Material Function node in the material editor. In the example below, we have:
To use in the final material, search for your material function and use it with Material Blend functions like below. Before you hook the blended material to the ‣, make sure to enable "Use Material Attributes" in the material's editor options.
Setting up common colors to be used throughout your project and/or asset into a function is one method to maintain consistency across your scenes and project.
Color set-up courtesy of Richard Stokes