# Color picker shadow block is broken

**URL:** https://forum.makecode.com/t/color-picker-shadow-block-is-broken/37662
**Category:** Help
**Created:** [June 30, 2025, 5:20pm UTC](https://forum.makecode.com/t/color-picker-shadow-block-is-broken/37662 "2025-06-30T17:20:33Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [June 30, 2025, 5:20pm UTC](https://forum.makecode.com/t/color-picker-shadow-block-is-broken/37662/1 "2025-06-30T17:20:33Z")

</div>

While making an extension, I came across a weird issue… The color shadow block seems to be totally broken. It looks like some kind of new feature? Replacing the old color picker with this new square shaped one, but the colors are all off and selecting them is even more broken.. I thought my extension might be the issue but I checked and the code is valid.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/b/5/b5c8f944edb61a7b1b17fc4ae5c887d22a0d2e91.png) ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/0/6/06db85cd78a8d94f969e1a0cf507c0f9ccd71468.png)

New color picker vs old color picker, looks like the old one still appears on built-in blocks.

Here’s an example on a project I’m working on. You can edit the code and play around with the color picker to see how it’s broken. Most colors just make the sprite disappear, selecting the “pink” one makes it yellow for some reason… No clue what’s going on.

> **[Broken color picker](https://arcade.makecode.com/S47187-46272-83999-04119)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

And the definition of the method used, using a `colorNumberPicker` shadow block. I experimented a little in the [playground](https://makecode.com/playground) and found another shadow block, apparently the legacy version `colorindexpicker` but it produces the same broken result. Help is appreciated

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/b/f/bfd629baeef18ed76b3d45eed4ee03824c8b60d1.png)

---

<div class="post-metadata">

### Author: ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)
#### Post date: [June 30, 2025, 6:26pm UTC](https://forum.makecode.com/t/color-picker-shadow-block-is-broken/37662/2 "2025-06-30T18:26:07Z")

</div>

Idk what’s happening to you, but when I tried what you did it basically broke the blocks tab for the extension, which was really weird:

 ![Screenshot 2025-06-30 at 2.21.56 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/d/ade50b3fc2c687d27ce9d85f8fa6db4399334d98.png)  
Then I tried “colorindexpicker” without the capitalization and it worked completely fine and used the normal color picker. You must have found some old(?) version somehow that isn’t used anywhere. 🤷‍♂️

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [June 30, 2025, 6:55pm UTC](https://forum.makecode.com/t/color-picker-shadow-block-is-broken/37662/3 "2025-06-30T18:55:25Z")

</div>

yeah, you want colorindexpicker not colornumberpicker. that block is used in other makecode editors (adafruit i think)

---

<div class="post-metadata">

### Author: ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)
#### Post date: [June 30, 2025, 7:05pm UTC](https://forum.makecode.com/t/color-picker-shadow-block-is-broken/37662/4 "2025-06-30T19:05:41Z")

</div>

I think I’ve seen it in documentation and playground before, don’t think I would’ve been using it otherwise…

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [June 30, 2025, 7:06pm UTC](https://forum.makecode.com/t/color-picker-shadow-block-is-broken/37662/5 "2025-06-30T19:06:12Z")

</div>

@Sarge the playground is for all makecode editors, so it has some non-arcade stuff in it
