# Is there any way to switch custom color palettes in game

**URL:** <https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287>\
**Category:** Help\
**Tags:** art\
**Created:** [January 23, 2024, 8:01pm UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287 "2024-01-23T20:01:49Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gideon\_loves\_cats](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gideon_loves_cats/32/13863_2.png) [@Gideon\_loves\_cats](https://forum.makecode.com/u/Gideon_loves_cats)\
**Post date:** [January 23, 2024, 8:01pm UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/1 "2024-01-23T20:01:49Z")

</div>

is there like an extension that switches custom color palettes in game. pls help 😩

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [January 23, 2024, 8:05pm UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/2 "2024-01-23T20:05:57Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/de4e97a6cff32ef0c123ad64b0c0248ae2d92660.png)  
There’s the Color Fading extension.

---

<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:** [January 24, 2024, 1:00am UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/3 "2024-01-24T01:00:50Z")

</div>

Is there a chart showing the ranges of RGB along with it’s values? I was wondering if random colour palettes could be made but with it’s ramps intact

---

<div class="post-metadata">

**Author:** ![Gideon\_loves\_cats](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gideon_loves_cats/32/13863_2.png) [@Gideon\_loves\_cats](https://forum.makecode.com/u/Gideon_loves_cats)\
**Post date:** [January 24, 2024, 1:00am UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/4 "2024-01-24T01:00:55Z")

</div>

I mean a custom color palette if you try to use the color you can’t switch between custom palette’s

---

<div class="post-metadata">

**Author:** ![Gideon\_loves\_cats](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gideon_loves_cats/32/13863_2.png) [@Gideon\_loves\_cats](https://forum.makecode.com/u/Gideon_loves_cats)\
**Post date:** [January 24, 2024, 10:16pm UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/5 "2024-01-24T22:16:57Z")

</div>

@richard help pls

---

<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:** [January 24, 2024, 10:20pm UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/6 "2024-01-24T22:20:54Z")

</div>

like @Blobbey mentioned, the color fading extension is what you’re looking for @Gideon_loves_cats

the “set color 1 to RGB” will switch color 1 in the palette to a new color.

we should really have a block that takes the #RRGGBB format though, I’ll add one now.

---

<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:** [January 25, 2024, 12:16am UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/7 "2024-01-25T00:16:13Z")

</div>

done!

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/9e8e9c6003f1eac3d39b0655641571e53dfea311.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:** [January 25, 2024, 1:40am UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/8 "2024-01-25T01:40:08Z")

</div>

Can you add blocks like “change hue/brightness/saturation of colour x hue by y”

---

<div class="post-metadata">

**Author:** ![Gideon\_loves\_cats](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gideon_loves_cats/32/13863_2.png) [@Gideon\_loves\_cats](https://forum.makecode.com/u/Gideon_loves_cats)\
**Post date:** [January 25, 2024, 1:40am UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/9 "2024-01-25T01:40:08Z")

</div>

Thank you Richard

---

<div class="post-metadata">

**Author:** ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)\
**Post date:** [January 25, 2024, 6:39pm UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/10 "2024-01-25T18:39:29Z")

</div>

Yeessss!!!

---

<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:** [December 19, 2025, 4:00am UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/11 "2025-12-19T04:00:08Z")

</div>

I didn’t want to make a new topic for this question, but is there a way I could switch between palettes that I have created?  
For instance, if I have a custom palette but make two other palettes with it as day and night versions of the first palette, is there an easy way to switch between them?

---

<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:** [December 31, 2025, 4:25am UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/12 "2025-12-31T04:25:48Z")

</div>

You could probably do something with arrays

---

<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:** [December 31, 2025, 5:11pm UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/13 "2025-12-31T17:11:26Z")

</div>

btw you could use the color namespace and use something like this this will add a custom palette with the Name and since your defo better than me in makecode typescript I think you can do whatever changes to this as you want

```auto
namespace color {

//% fixedInstance whenUsed block="Name"

export const Untitled = bufferToPalette(hex`

00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000

`);

}

```

you also could make an nested array and for rgb values arrays and just sub them in when you want them like this

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/9/8/9893725b6481e660ab7358e7df2d2b6e0a4d10ee.png)

---

<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:** [January 1, 2026, 9:26pm UTC](https://forum.makecode.com/t/is-there-any-way-to-switch-custom-color-palettes-in-game/26287/14 "2026-01-01T21:26:17Z")

</div>

ok thank you guys! just wanted to make sure if might’ve been an easier way.

Happy new Year!
