--- title: "Hair Random Color" url: "https://help.maxon.net/r3d/cinema/en-us/Content/html/Hair%2BRandom%2BColor.html" section_path: "Shaders > Utility Shaders > Hair Random Color" description: "This utility texture node allows you to randomize a color for each hair strand. It should be used to add subtle variation to hair color and in doing so …" --- # Hair Random Color You are here: # Hair Random Color ## Introduction This utility texture node allows you to randomize a color for each hair strand. It should be used to add subtle variation to hair color and in doing so help give it a more 'natural' look. For example this can be useful when, in conjunction with a gradient shader, you want to randomize the tip color of the hair. | | | --- | | ![Image: C4D_Hair_Random_Color_Node.png](https://help.maxon.net/r3d/cinema/en-us/Content/Resources/Images/C4D_Hair_Random_Color_Node.png) | | | ## Parameters ### General ##### Color This is the base color that is to be randomized. ### Randomization ##### Hue Amount This is a value between 0 and 1 and will blend in a random hue color. A value of 0 means no hue color will be applied and a value of 1 means a fully random hue color will be applied. Values in between will create a more subtle color shift. ##### Saturation Amount This is a value between 0 and 1 and will blend in a random amount of saturation. A value of 0 means no random saturation and a value of 1 means full random saturation. Values in between will create a more subtle saturation shift. ##### Value Amount This is a value between 0 and 1 and will blend in a random amount of brightness. A value of 0 means no random brightness and a value of 1 means full random brightness. Values in between will create a more subtle brightness shift. ## Hair Random Color Example | | | | | --- | --- | --- | | ![Image: worddava780b9f04779835bf419462c0800871eb917.png](https://help.maxon.net/r3d/cinema/en-us/Content/Resources/Images/InSnippets_Redshift/Shaders/Utility_Hair_Random_Color/worddava780b9f04779835bf419462c0800871eb917.png) | ![Image: worddavf73a7e15b9c4217ab0254fb72a8633d91eaa.png](https://help.maxon.net/r3d/cinema/en-us/Content/Resources/Images/InSnippets_Redshift/Shaders/Utility_Hair_Random_Color/worddavf73a7e15b9c4217ab0254fb72a8633d91eaa.png) | ![Image: worddav1f05197ff9c648edf6d3f1b48a2b12b519ce.png](https://help.maxon.net/r3d/cinema/en-us/Content/Resources/Images/InSnippets_Redshift/Shaders/Utility_Hair_Random_Color/worddav1f05197ff9c648edf6d3f1b48a2b12b519ce.png) | | The example above shows a head of hair with a gradient shader applied to the internal reflection color. The gradient shader has two knots – the base color being a fixed brownish color, and the tip color being textured by a hair random color node. The Hue Amount is cranked up to 1, to demonstrate the effect. | Above demonstrates the random Saturation. See how some gray has appeared in the hair? | Above demonstrates the random Value, which has a more subtle effect in this example, due to the presence of self shadowing that already makes the hair look 'noisy'. |