How to name an item in a pre-filled chest [duplicate]

I want have the item in the chest (the dye) to have a custom name, I have tried very hard to do so.

Here is what I have so far (it works but I need the item to have a name as said before):

/give @p chest 1 0 {BlockEntityTag:{Items:[{Slot:0,id:dye,Damage:2,Count:1}]}}

Also I need the answer in 1.12

Here are things I tried but failed:

/give @p chest 1 0 {BlockEntityTag:{Items:[{Slot:0,id:dye,Damage:2,Count:1,disp‌​lay:{Name:"Name of item"}}]}}

and

/give @p chest 1 0 {BlockEntityTag:{Items:[Slot:0,id:dye,Damage:2,Count:1,tag:{display:{Name:"Name of item"}}]}}

Solution 1:

Anything that you would put within the data tag of a /give command…

/give @p dye 1 2 {display:{Name:"Bob"}}

…is stored within the "tag" of an item, like so:

/give @p chest 1 0 {BlockEntityTag:{Items:[{Slot:0,id:dye,Damage:2,Count:1, tag:{display:{Name:"Bob"}} }]}}