Unkown named color: 1.0000, 1.0000, 1.0000

I tried to change the background color of the screen via “experiment properties” => “screen” to white.

Nothing happend, the screen is still gray when I run the experiment locally.

Then I uploaded the experiment to Pavlovia to run a pilot, but I get the error:

Unkown named color: 1.0000, 1.0000, 1.0000

I have a code component, but nothing related to color.

In the coder view I see it says:

psychoJS.openWindow({
fullscr: true,
color: new util.Color(‘1.0000, 1.0000, 1.0000’),
units: ‘height’,
waitBlanking: true
});

I tried to change this into

new util.Color(‘[1, 1, 1]’) or even new util.Color('white) but that didn’t help.

Does anybody have an idea what’s going wrong? :slightly_smiling_face:

screen_color_problem

Change the colour to $[1,1,1]

1 Like

Thank you so much! :star_struck: That worked!