# How to get the colors right for a simple texture with MeshBasicMaterial?

**URL:** <https://discourse.threejs.org/t/how-to-get-the-colors-right-for-a-simple-texture-with-meshbasicmaterial/55187>\
**Category:** Questions\
**Tags:** textures\
**Created:** [August 20, 2023, 11:15pm UTC](https://discourse.threejs.org/t/how-to-get-the-colors-right-for-a-simple-texture-with-meshbasicmaterial/55187 "2023-08-20T23:15:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mjurczyk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mjurczyk/32/10995_2.png) [@mjurczyk](https://discourse.threejs.org/u/mjurczyk)\
**Post date:** [August 21, 2023, 1:39am UTC](https://discourse.threejs.org/t/how-to-get-the-colors-right-for-a-simple-texture-with-meshbasicmaterial/55187/2 "2023-08-21T01:39:33Z")

</div>

[This post](https://discourse.threejs.org/t/updates-to-color-management-in-three-js-r152/50791) may help understanding changes that happened in latest releases - r125 is quite an old version of three, updating the example to r155 will require you to use `colorSpace` instead of `encoding` for textures and render targets / output.

---

_[View the full topic](https://discourse.threejs.org/t/how-to-get-the-colors-right-for-a-simple-texture-with-meshbasicmaterial/55187)._
