Hey /3/, any reason I'm getting 17 colours when creating a 4 bit grayscale color palette?
1: 000000
2: 0f0f0f
3: 1f1f1f
4: 2f2f2f
5: 3f3f3f
6: 4f4f4f
7: 5f5f5f
8: 6f6f6f
9: 7f7f7f
10: 8f8f8f
11: 9f9f9f
12: afafaf
13: bfbfbf
14: cfcfcf
15: dfdfdf
16: efefef
17: ffffff
>>539100
>4 bit
xxxx
2^4=16
1: 000000
2: 111111
3: 222222
4: 333333
5: 444444
6: 555555
7: 666666
8: 777777
9: 888888
10: 999999
11: AAAAAA
12: BBBBBB
13: CCCCCC
14: DDDDDD
15: EEEEEE
16: FFFFFF
Basically you're adding 0f0f0f, which is wrong, cause you already have 000000, delete either of those and you'll be fine. Btw, my way is the correct way to separate them.
>>539102
Thanks mate, I appreciate it.