My palette is this in ICE:

Code:
0000EFBD4A7D4DCE90D61F7CFFFFCE391563D25E73CE9B6F6CB1945231FEEFBDD6DA0039B5D6F7DE6B2D95777F811F82C07F884DC61818633501E0E610C2F0847B6F5C81007CADB5EB59005C

I made it using convPNG. I haven't added any images yet, but I want to fill the screen 000000 black (which is in the palette) but I don't know the index number, nor do I want to do trial and error. Help is appreciated, thanks in advance!
0000 is black, so black is at palette index 0.
Ideally, you want to figure out these indexes before you generate your palette, as adding images will cause any non-fixed palette indexes to change. You can do this by taking each color you want to use in your program and making it a fixed palette index using fixed-entries in your convimg.yaml file, and then you know that convimg will put that color at that palette index. Here's an example of a convimg.yaml file that uses this.
commandblockguy wrote:
0000 is black, so black is at palette index 0.
Ideally, you want to figure out these indexes before you generate your palette, as adding images will cause any non-fixed palette indexes to change. You can do this by taking each color you want to use in your program and making it a fixed palette index using fixed-entries in your convimg.yaml file, and then you know that convimg will put that color at that palette index. Here's an example of a convimg.yaml file that uses this.

Alright, thanks
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement