How can I set different colors to inline code and code block?

Will give it a try.

Many thanks!