rocinantealpha

reference / color and style

background

Sets the color or gradient behind everything in the window, wherever it is written.

background 30circle at 200 150 radius 60 fill gold
what it draws: the whole window, 400 by 300
What the example of background draws

How to write it

background color [angle number] [stops list] [as word] [at number number] [in word]

Words it takes

after as
linear, radial, conic
after in
oklab, rgb, oklch

Related