/palette-blocks

Manipulate the palette from blocks

Primary LanguageTypeScript



Open this page at https://pelikhan.github.io/palette-blocks/

An extension that provides easy blocs to modify the palette in MakeCode Aracde.

Use this extension

This repository can be added as an extension in MakeCode.

setColorHue

Changes a color from the palette to a given hue.

palette.setColorHue(4, 96);

setColor

Changes a color from the palette to a RGB color

palette.setColor(4, color.rgb(32, 64, 128));

Edit this extension Build status badge

To edit this repository in MakeCode.

Metadata (used for search, rendering)

  • for PXT/arcade
<script src="https://makecode.com/gh-pages-embed.js"></script><script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>