(palette-setcolor! palette index color)
This procedure sets the slot in a palette colormap to a specific RGB color. The index mus be in the range 0 … 65535.
The palette slot is set to the specified color.
unspecified (ok)
(define (palette-setcolor! palette index color)
(palette-unfold! palette)
(colormap-setpixel! palette index 0 color))
> (define p (palette-create))
p
> (palette-setcolor! p 1234 (rgb 200 100 50))
ok
>