reference / color and style
gradient
Makes a gradient from a list of colors, to use wherever a color goes.
sunset = gradient [ navy purple orange ] angle 90rect at 0 0 size 400 300 fill sunsetcircle at 200 220 radius 60 fill (gradient [ gold tomato ] as radial)
How to write it
gradient colors [angle number] [stops list] [as word] [at number number] [in word]
Gives a gradient.
Words it takes
- after
as linear,radial,conic- after
in oklab,rgb,oklch