[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k] [s4s] [vip] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Home]
Board
Settings Home
/3/ - 3DCG



Thread archived.
You cannot reply anymore.



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.



Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.