# Stimulus still visible when same colour as background

**URL:** <https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270>\
**Category:** Support\
**Created:** [March 13, 2019, 10:28pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270 "2019-03-13T22:28:07Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 13, 2019, 10:28pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/1 "2019-03-13T22:28:07Z")

</div>

Hi Chris,

I was testing a task where target (a disk) needs to be detected at random locations on the screen. When varying the colour values of the disk, i noticed that when the disk has the same colour values as the background, the borders of the disk are visible as a thin white line. It doesn’t appear on the mirror window but only on the 2nd display. I tried a rectangle which was better (reduced borders), but still the same issue. Any idea what caused this?

Cheers,  
Beshoy

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 14, 2019, 12:25pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/2 "2019-03-14T12:25:02Z")

</div>

Hi Chris,  
Just an update, this issue only occurs with the ellipse stimulus not with the rectangle one.

Cheers,  
Beshoy

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 14, 2019, 2:08pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/3 "2019-03-14T14:08:41Z")

</div>

Hi Beshoy,

I haven’t been able to reproduce this issue yet. What color are the stimulus and background when you see the white line?

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 20, 2019, 11:29am UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/4 "2019-03-20T11:29:59Z")

</div>

Hi Chris,

Sorry for the late reply. I tried reverting back to the 0.8 version as i was using a nightly version (not the latest one). I noticed that this issue isn’t there anymore. And speaking of the nightly version, I tried to use the latest one and the stimulus didn’t even come up. I will test it on another computer to be sure, but any idea why is this?

Cheers,  
Beshoy

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 20, 2019, 1:09pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/5 "2019-03-20T13:09:05Z")

</div>

Could you please send me an example experiment that demonstrates the issues you’re seeing?

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 26, 2019, 9:57pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/6 "2019-03-26T21:57:57Z")

</div>

Hi Chris,

Sorry for the delay. I attached a file with an example protocol.

Cheers,  
Beshoy

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 26, 2019, 9:57pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/7 "2019-03-26T21:57:57Z")

</div>

Attachment: [stimulus\_color\_background.mwel.zip](https://mworks.discourse.group/uploads/short-url/86bNvbcbJn9lg9XAps7rCflnNL8.zip) (4.58 KB)

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 27, 2019, 4:59pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/8 "2019-03-27T16:59:30Z")

</div>

Hi Beshoy,

Thanks for sending the example.

Unfortunately, I’m not able to reproduce either problem using the latest nightly build. When the stimulus color is identical to the background color, the stimulus is invisible. When the colors are different, the stimulus always appears. I tested on four different Macs and an iPad, with the same results each time.

I’ve attached a minimal version of your experiment that just displays the target disc while looping over all values of `target_contrast`, displaying each for one second. On all my test machines, the disc is invisible when its color matches that of the background. If you run this on your machine, do you see the white border when the disc should be hidden?

Also, it’d be helpful to know more details about the system on which you’re seeing these issues. Can you run the following command in Terminal and send me the output?

```
system_profiler SPSoftwareDataType SPHardwareDataType SPDisplaysDataType

```

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [March 27, 2019, 4:59pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/9 "2019-03-27T16:59:30Z")

</div>

Attachment: [color\_test.mwel.zip](https://mworks.discourse.group/uploads/short-url/8tGgyXC3btuUMVl1PkIOvlAgjTB.zip) (451 Bytes)

---

<div class="post-metadata">

**Author:** ![cstawarz](https://yyz1.discourse-cdn.com/flex031/user_avatar/mworks.discourse.group/cstawarz/32/3_2.png) [@cstawarz](https://mworks.discourse.group/u/cstawarz)\
**Post date:** [July 19, 2022, 8:54pm UTC](https://mworks.discourse.group/t/stimulus-still-visible-when-same-colour-as-background/270/10 "2022-07-19T20:54:48Z")

</div>


