$ run --tool
Console Color Code Generator
Pick colors and styles per line and get ready-to-paste console.log statements with ANSI escape codes.
Terminal preview
==============================================
π Premium Node Server is now running!
π Local URL: http://localhost:3000
==============================================
Code
console.log(`\x1b[32m%s\x1b[0m`, `==============================================`); console.log(`\x1b[36m%s\x1b[0m`, `π Premium Node Server is now running!`); console.log(`\x1b[35m%s\x1b[0m`, `π Local URL: http://localhost:3000`); console.log(`\x1b[32m%s\x1b[0m`, `==============================================`);
Features
- βMultiple lines with independent colors/styles
- βLive terminal-style preview
- βBold, dim, italic, underline and strikethrough support
- βCopy or download the ready-to-paste code
How to use
- 1Edit or add log lines
- 2Pick a text color, background and style for each line
- 3Copy the generated console.log code
Frequently asked questions
Does this work outside Node.js?+
ANSI escape codes work in most terminals (Node.js, bash, Python, etc.) but not in browser devtools consoles.
Related tools
Need a tool that isn't here yet?
ToolsForce is growing every week. Tell us what to build next.
Request a tool