Open this page at https://pelikhan.github.io/palette-blocks/
An extension that provides easy blocs to modify the palette in MakeCode Aracde.
This repository can be added as an extension in MakeCode.
- open https://arcade.makecode.com/
- click on New Project
- click on Extensions under the gearwheel menu
- search for https://github.com/pelikhan/palette-blocks and import
Changes a color from the palette to a given hue.
palette.setColorHue(4, 96);
Changes a color from the palette to a RGB color
palette.setColor(4, color.rgb(32, 64, 128));
To edit this repository in MakeCode.
- open https://arcade.makecode.com/
- click on Import then click on Import URL
- paste https://github.com/pelikhan/palette-blocks and click import
- for PXT/arcade