Hey guys just thought I'd release this little tool I whipped up last night. You type the path to the file you want and it outputs a .txt file with a const BYTE array preformatted and everything.
When you type in the name of the colour/array it adds a b to the beginning and capitalizes the first letter eg if you type in "red" it will output "bRed" just so it looks nice. Feel free to change it if you want.
For best results use a 1x1 .bmp exported from paint to keep the file size down.
You don't have to use a 1x1 bmp if you want. You can use anything so go wild!
Here is a rainbow cham I made