资讯

pal [0] = color or pal.setColor (0, color) Sets the colour at a given index. Note that it doesn't actually check if you've put in valid colours. The setColor method also returns the palette so you can ...