# 6-Bit RGB (MORE COLOURS)

**URL:** https://forum.makecode.com/t/6-bit-rgb-more-colours/34263
**Category:** Show & Tell
**Tags:** tutorial, art, demo, graphics-and-math
**Created:** [March 4, 2025, 3:23am UTC](https://forum.makecode.com/t/6-bit-rgb-more-colours/34263 "2025-03-04T03:23:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ultimategreg123](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ultimategreg123/32/9940_2.png) [@Ultimategreg123](https://forum.makecode.com/u/Ultimategreg123)
#### Post date: [March 4, 2025, 3:23am UTC](https://forum.makecode.com/t/6-bit-rgb-more-colours/34263/1 "2025-03-04T03:23:41Z")

</div>

So, im sure we all know that makecode is limeted to 15 colours. However, on hardware the screens are often so small that if someone - me - were to combine the colours red, green and blue then more colours could be produced. However, in order for it to act like a real LED display, we would need brightness control. Now how can we do that? By creating a colour pallete with five shades of R, G and B of course!

Now with some clever positioning of colours next to each other and the help of the tiny screens of handheld arcade hardware (sorry big arcade users), we can create a maximum of 125 total colours! (i think)

All of the instructions and formulas to convert RGB-255 to RGB-5 are in the last page of the menu in the code, where it says `Docs`.

> **[6-Bit RGB Demo](https://arcade.makecode.com/S43441-10339-97066-67053)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

_(Idk how you guys could automatically transfer the colour pallete to another game, sorry!)_

_**Have fun making games or other thingys with 125 (maybe) colours!**_

---

<div class="post-metadata">

### Author: ![CodeOnTheCob](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codeonthecob/32/19306_2.png) [@CodeOnTheCob](https://forum.makecode.com/u/CodeOnTheCob)
#### Post date: [March 4, 2025, 1:01pm UTC](https://forum.makecode.com/t/6-bit-rgb-more-colours/34263/2 "2025-03-04T13:01:00Z")

</div>

wait if you use the screen size changey thing I have an idea

---

<div class="post-metadata">

### Author: ![CopySprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/copysprite/32/35475_2.png) [@CopySprite](https://forum.makecode.com/u/CopySprite)
#### Post date: [March 4, 2025, 6:46pm UTC](https://forum.makecode.com/t/6-bit-rgb-more-colours/34263/3 "2025-03-04T18:46:42Z")

</div>

_Wow…_  
That’s really cool.

---

<div class="post-metadata">

### Author: ![Ultimategreg123](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ultimategreg123/32/9940_2.png) [@Ultimategreg123](https://forum.makecode.com/u/Ultimategreg123)
#### Post date: [March 4, 2025, 6:47pm UTC](https://forum.makecode.com/t/6-bit-rgb-more-colours/34263/4 "2025-03-04T18:47:35Z")

</div>

Ultra HD 8K 120fps screen 🤣

---

<div class="post-metadata">

### Author: ![Ultimategreg123](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/ultimategreg123/32/9940_2.png) [@Ultimategreg123](https://forum.makecode.com/u/Ultimategreg123)
#### Post date: [March 5, 2025, 10:10pm UTC](https://forum.makecode.com/t/6-bit-rgb-more-colours/34263/5 "2025-03-05T22:10:28Z")

</div>

thanks
