The colors come from the syntax highlighting library. You can find more info on that here: Make Obsidian code blocks compatible with prismjs spec and other apps
The colors come from the syntax highlighting library. You can find more info on that here: Make Obsidian code blocks compatible with prismjs spec and other apps