Thanks for the quick reply's. I didn't realize the new rgb() command needed 4 arguments. Very clear to me now.
However there are still some things not working like they should. I like to put colors in GLOBALS, so that the source is more readable and I can later change the basic colors quickly if needed.
I now also added the fourth alpha channel argument.
This doesn't work (it also doesn't work if I use the 3 parameter RGB command):
GLOBAL border : border=rgb(255,78,92,101)
dot x,y,border
This does work (but defeats the purpose of using variables):
GLOBAL border : border=rgb(255,78,92,101)
dot x,y,rgb(78,92,101)
The variabele technique does work for other color commands.
I also have problems doing things like this:
p=point(x,y)
if p=border then rest of code
So I have to use this instead:
p=point(x,y) : red=rgbr(p) : grn=rgbg(p) : blu=rgbb(p)
if red=78 and grn=92 and blu=101 then rest of code