---
url: /api/symbols/workbox-build/utils/colors/errstyle.md
---

# errStyle

Function @vite-pwa/workbox-build/utils/colors

```ts
errStyle(format: ForegroundColors | BackgroundColors | Modifiers | ForegroundColors | BackgroundColors | Modifiers[] | string, text: string): string
```

For messages written to stderr (console.warn / console.error / thrown errors).
