# Modulate diffuse texture with a color

**URL:** <https://discourse.threejs.org/t/modulate-diffuse-texture-with-a-color/7912>\
**Category:** Questions\
**Tags:** textures, materials\
**Created:** [June 3, 2019, 6:45pm UTC](https://discourse.threejs.org/t/modulate-diffuse-texture-with-a-color/7912 "2019-06-03T18:45:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Issam\_Boughanmi](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/issam_boughanmi/32/4703_2.png) [@Issam\_Boughanmi](https://discourse.threejs.org/u/Issam_Boughanmi)\
**Post date:** [June 3, 2019, 6:45pm UTC](https://discourse.threejs.org/t/modulate-diffuse-texture-with-a-color/7912/1 "2019-06-03T18:45:13Z")

</div>

Hi,  
i have this object made with several texture maps, : diffuse, roughness, normal … etc

 ![ss](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/f/fdb1628bf1098e4c27d9f713427fd3db2e511105.jpeg) ![Unzztitled](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/f/f2c857521d38c5f8c089cf14009b460a00e40350.jpeg)

is there a way to modulate the diffuse texture with another color so the object can look green, blue , red … etc ?

thanks .

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [June 3, 2019, 6:47pm UTC](https://discourse.threejs.org/t/modulate-diffuse-texture-with-a-color/7912/2 "2019-06-03T18:47:27Z")

</div>

`material.color` and any vertex colors in the geometry will be multiplied against the diffuse texture `material.map` if present. So for example, a color of `#ff0000` would zero out everything but the red channel in the texture.
