Hi Anirudh,
It looks like no one responded to your question.
I found this Ghost article helpful in adding color to my snippets.
I used method one and injected the suggested code into my header’s and footer’s and it works great!
One thing to note is, your snippets won’t have color in preview, only when you view the actual post.
I hope this helps!
Kind regards,
Ted