pmcp

ansi-styles

Use ansi-styles v7.0.0 to generate ANSI escape sequences, inspect style groups, convert RGB/hex colors, and work with underline colors. Requires Node.js 22 or newer and ESM imports.

A skill is written against one major of its package, because a major is where the shape changes. Pick the line that matches your lockfile.

LineForVerified
7.x ansi-styles@7.0.0 2026-09-08, 5 examples