Introduction to my problem
As most of you know, the section sign, aka ยง is used to add color formatting. But the inconvenient thing is that you can't use the sign in command blocks, only in console commands. That really really is annoying, since it leaves out so many features in vanilla minecraft.
About my map, just if you wanna read :)
So what I need help with? I'm creating a prison escape map, not just parkour, instead with picklocks, guards, inmates, roll calls, reputation, metal detectors, custom resource packs, secret stashes and many escape possibilities. The part which I have a problem with? Custom-colored items.
I want to give items custom lores with colors (and not that ugly purple italics lore ... eww). Red-colored (eg. knives, drugs, armor & guard keys) items would be contraband and result in solitary when found, orange-colored (eg. bobby pins, plastic knives & sticks) are also illegal, but won't be confiscated, since they are just not detected by guard dogs, guards or metal detectors. While it's illegal to own them, you can carry them without any sort of risk - and green-colored (eg. money, food & leather clothes) are completely legal to own and can be acquired legally.
So, what I need help with?
So, what I need? I need to be able to spawn colored items in the world. Most of the contraband can be traded from other inmates, but for example in the yard, random bobby pins and metal pieces will spawn, but I can't summon colored items (the summoned items have to be colored!). I only found one solution by now, which is to pre-make chests in command block areas, putting an item given thru server console in them, then cloning random chests on top of the yard, breaking them a tick later so that the cloned items get dropped. But that won't work in all areas, also would be really unconvinient if I want to give items to players, for example, for quest completion.
Any ideas? If you know how to help, please reply, it would REALLY help me!