# Colors fading extension-help

**URL:** <https://forum.makecode.com/t/colors-fading-extension-help/43987>\
**Category:** Help\
**Created:** [May 14, 2026, 3:24am UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987 "2026-05-14T03:24:20Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ctrl\_Delete\_Codemode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ctrl_delete_codemode/32/32477_2.png) [@Ctrl\_Delete\_Codemode](https://forum.makecode.com/u/Ctrl_Delete_Codemode)\
**Post date:** [May 14, 2026, 3:24am UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/1 "2026-05-14T03:24:20Z")

</div>

Hello evryone.I’m trying to add a custom color palette to the ‘colors fading’ extension in the ‘fade from - to -’ block, but I don’t know how.Can you help me please?

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [May 14, 2026, 5:41pm UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/2 "2026-05-14T17:41:24Z")

</div>

as far as I know, you can’t add custom palettes to the drop down menu

however, you can fade colours individually so its possible to fade all 15 colours to a different palette

@WoofWoof was working on making some additions to the colour fading ext, might add the custom palette feature if i beg hard enough ❤

> [@Please I'm begging you: 16 more colors](https://forum.makecode.com/t/please-im-begging-you-16-more-colors/22166/18):
>
> I can… like… make an extension… for that… if you want… (only one color at a time is crazy! I’ve never used that extension.) It’s just a normal function in JavaScript. The only problem is that the input is a buffer, but I could make some rudimentary blocks that let you input an array instead, or set the r, g, and b values of a certain color individually. Just give me, like, 4 weeks, because I’m not gonna code this while I’m at near 0 internet and only have my phone… (side note plz do weekly art …

---

<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:** [May 14, 2026, 10:40pm UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/3 "2026-05-14T22:40:17Z")

</div>

Idk I seem to remember that I asked a certain someone for advice on what blocks to add and he never got back to me…

> [@Please I'm begging you: 16 more colors](https://forum.makecode.com/t/please-im-begging-you-16-more-colors/22166/25):
>
> Just looked at it and yes, it does. @luke can you think of a few blocks you would like to have added?

---

<div class="post-metadata">

**Author:** ![Ctrl\_Delete\_Codemode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ctrl_delete_codemode/32/32477_2.png) [@Ctrl\_Delete\_Codemode](https://forum.makecode.com/u/Ctrl_Delete_Codemode)\
**Post date:** [May 14, 2026, 11:44pm UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/4 "2026-05-14T23:44:55Z")

</div>

so why this guy can?

 ![Screenshot 2026-05-14 17.49.08](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/4/c4b3c8486f9d71e2ac47fba9ed482a71bb6d8277.png)

---

<div class="post-metadata">

**Author:** ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)\
**Post date:** [May 15, 2026, 2:10am UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/5 "2026-05-15T02:10:34Z")

</div>

a block to adjust the HSV, a block to enter in custom palettes for the fading and a block to set brightness/darkeness levels across the entire screen

---

<div class="post-metadata">

**Author:** ![Bifrosty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bifrosty/32/24819_2.png) [@Bifrosty](https://forum.makecode.com/u/Bifrosty)\
**Post date:** [May 15, 2026, 5:43pm UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/6 "2026-05-15T17:43:59Z")

</div>

That is interesting. I wonder if they edited the extension’s code. Could you send the project you are referring to so I could take a look?

---

<div class="post-metadata">

**Author:** ![Ctrl\_Delete\_Codemode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ctrl_delete_codemode/32/32477_2.png) [@Ctrl\_Delete\_Codemode](https://forum.makecode.com/u/Ctrl_Delete_Codemode)\
**Post date:** [May 16, 2026, 4:04am UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/7 "2026-05-16T04:04:49Z")

</div>

yes for sure

> **[RAIDERS Alpha 0.8](https://arcade.makecode.com/S14397-44384-95200-36835)**
>
> Fait avec ❤️ dans Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![BLADEr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blader/32/16422_2.png) [@BLADEr](https://forum.makecode.com/u/BLADEr)\
**Post date:** [May 16, 2026, 4:22am UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/8 "2026-05-16T04:22:58Z")

</div>

i think it’s possible, you have ti go into the extension itself through java and add all your colors manually there

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [May 16, 2026, 4:44am UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/9 "2026-05-16T04:44:10Z")

</div>

you can do this in js

```auto
namespace color {
     */
    //% fixedInstance whenUsed block="CoolNameHere"
    export const CoolNameHere = bufferToPalette(hex`
        000000
        000000
        000000
        000000
        000000
        000000
        000000
        000000
        000000
        000000
        000000
        000000
        000000
        000000
        000000
        000000
    `);

```

It wont show up as a enum in the block in blocks BUT you can use that palette in js like this test project

> **[test](https://arcade.makecode.com/28665-55955-73441-44291)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

an alternative is to make a fork of jwunderl’s extension and add custom palettes in palettes.ts with the aforementioned method and then import your fork into the project this method will show an enum in blocks.( I feel big brain somehow)

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [May 16, 2026, 4:44am UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/10 "2026-05-16T04:44:47Z")

</div>

I remember that you could do it a while ago I’ll take a quick look at the extension  
(edit: yeah you can edit the namespace color to do so)

---

<div class="post-metadata">

**Author:** ![Bifrosty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bifrosty/32/24819_2.png) [@Bifrosty](https://forum.makecode.com/u/Bifrosty)\
**Post date:** [May 16, 2026, 9:15pm UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/11 "2026-05-16T21:15:48Z")

</div>

Yes, this is what I found.

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [May 28, 2026, 5:52pm UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/12 "2026-05-28T17:52:24Z")

</div>

yo yo yo Luke could you try my fork of pxt-color I added these things btw

> **[GitHub - NotARealAccSorry/pxt-color: Screen color helpers for MakeCode Arcade](https://github.com/NotARealAccSorry/pxt-color)**
>
> Screen color helpers for MakeCode Arcade

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [May 29, 2026, 4:51pm UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/13 "2026-05-29T16:51:55Z")

</div>

pls Luke for this cann we get an official weekly art challenge

---

<div class="post-metadata">

**Author:** ![Ctrl\_Delete\_Codemode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ctrl_delete_codemode/32/32477_2.png) [@Ctrl\_Delete\_Codemode](https://forum.makecode.com/u/Ctrl_Delete_Codemode)\
**Post date:** [May 31, 2026, 3:33am UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/14 "2026-05-31T03:33:40Z")

</div>

Maybe it too mutch but can you make a ‘set sreen brightness to’ for i can put it in a ‘if’.

---

<div class="post-metadata">

**Author:** ![TheEarth](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/theearth/32/34579_2.png) [@TheEarth](https://forum.makecode.com/u/TheEarth)\
**Post date:** [May 31, 2026, 7:49pm UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/15 "2026-05-31T19:49:01Z")

</div>

ill do it in the morning with a commit if i can so the block will be if screen brightness(num)

---

<div class="post-metadata">

**Author:** ![Ctrl\_Delete\_Codemode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ctrl_delete_codemode/32/32477_2.png) [@Ctrl\_Delete\_Codemode](https://forum.makecode.com/u/Ctrl_Delete_Codemode)\
**Post date:** [May 31, 2026, 7:59pm UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/16 "2026-05-31T19:59:18Z")

</div>

or a block ‘fade to sreen brightness 100’

---

<div class="post-metadata">

**Author:** ![Ctrl\_Delete\_Codemode](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ctrl_delete_codemode/32/32477_2.png) [@Ctrl\_Delete\_Codemode](https://forum.makecode.com/u/Ctrl_Delete_Codemode)\
**Post date:** [June 1, 2026, 2:26am UTC](https://forum.makecode.com/t/colors-fading-extension-help/43987/17 "2026-06-01T02:26:10Z")

</div>

Thanks!
