# Screen(MakeTexture) out of range RGB values?

**URL:** <https://psychtoolbox.discourse.group/t/screen-maketexture-out-of-range-rgb-values/4013>\
**Category:** Programming Help\
**Created:** [September 20, 2021, 9:07am UTC](https://psychtoolbox.discourse.group/t/screen-maketexture-out-of-range-rgb-values/4013 "2021-09-20T09:07:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dilcetan](https://yyz2.discourse-cdn.com/free1/user_avatar/psychtoolbox.discourse.group/dilcetan/32/334_2.png) [@dilcetan](https://psychtoolbox.discourse.group/u/dilcetan)\
**Post date:** [September 20, 2021, 9:07am UTC](https://psychtoolbox.discourse.group/t/screen-maketexture-out-of-range-rgb-values/4013/1 "2021-09-20T09:07:19Z")

</div>

Hi, I was wondering how does ‘MakeTexture’ command deal with an image which has RGB values out of the range of 0 and 1? I have an image that has negative and higher than 1 RGB values. It does not round the values to 0 and 1 since I tried replacing out-of-range values to 0 and 1 and end up with slightly different colors than the original image with out-of-the-range values. What does ‘MakeTexture’ do to those RGB values to present them on the screen?
