gifboy can use up to 16 different colors which are indexed from 0 to 15.
Colors can be set via the color() command (see Documentation).
Color | Name | color_number | RGB Code | Hex Code |
---|---|---|---|---|
![]() | Black | 0 | 0, 2, 20 | #000214 |
![]() | Dark Blue | 1 | 18, 32, 95 | #12205f |
![]() | Dark Purple | 2 | 73, 14, 75 | #490e4b |
![]() | Dark Green | 3 | 33, 175, 82 | #21af52 |
![]() | Brown | 4 | 154, 66, 37 | #9a4225 |
![]() | Dark Grey | 5 | 67, 91, 120 | #435b78 |
![]() | Light Grey | 6 | 136, 167, 187 | #88a7bb |
![]() | White | 7 | 243, 243, 243 | #f3f3f3 |
![]() | Red | 8 | 168, 40, 63 | #a8283f |
![]() | Orange | 9 | 237, 109, 68 | #ed6e44 |
![]() | Yellow | 10 | 255, 199, 101 | #ffc765 |
![]() | Green | 11 | 157, 238, 96 | #9eee60 |
![]() | Blue | 12 | 43, 156, 245 | #2b9cf5 |
![]() | Indigo | 13 | 117, 102, 145 | #756691 |
![]() | Pink | 14 | 255, 104, 158 | #ff689e |
![]() | Peach | 15 | 255, 198, 159 | #ffc69f |
Colors can be replaced with new colors via the palette() command (see Documentation).