Error "unknown named color"

URL of experiment: https://gitlab.pavlovia.org/DuderstadtV/leson_onlinepilot_square_debug

Description of the problem:

Dear all,

I am trying to debug my online study. One of my problems is:

On pavlovia I receive the following error: “when defining color -> unknown named color [1.000, 0.004, 1.000]”. I want to show a bi-colored pixel square with three loops and changing color pairs during every loop. I can not find this color in my JS or my xlsx files

I am glad about every helpfull suggestion.

Best regards,
Vinzenz

I had a problem with color from the Javascript end, and I was fortunate to receive some very helpful advice from another user. Here’s the link to the comment, see if that works.

Unfortunately this does not seem to solve my problem. I tried to adapt it, but I stille get the following message:

` Unfortunately we encountered the following error:

when defining a color
unknown named color: [0.0, -1.0, -1.0]

Try to run the experiment again. If the error persists, contact the experiment designer.`

Does it maybe have to do with an undefinded color space (I want to use rgb)?

Is it possible to use decimal numbers for the color space? Could that be the problem?

This is how I have defined colors from the Builder View using the code component:

I’m not too sure about decimals.

Hi Vinzenz, did you solve the problem with the colors? I have the same problem.