How do i get an item with a bold / italic colored name

I know how to get a colored item but i cant find out how to get a bold and colored item at the same time.


Solution 1:

you mean like that?

/give @p minecraft:egg{display:{Lore:['{"text":"Egg","color":"red","bold":true}']}} 1