Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8714117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:30:47+00:00 2026-06-13T05:30:47+00:00

Can Chrome’s built-in JavaScript console display colors? I want errors in red, warnings in

  • 0

Can Chrome’s built-in JavaScript console display colors?

I want errors in red, warnings in orange and console.log‘s in green. Is that possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:30:48+00:00Added an answer on June 13, 2026 at 5:30 am

    In Chrome & Firefox (+31) you can add CSS in console.log messages:

    console.log('%c Oh my heavens! ', 'background: #222; color: #bada55');

    Console color example in Chrome

    The same can be applied for adding multiple CSS to same command.
    syntax for multi coloring chrome console messages

    References

    • MDN: Styling console output
    • Chrome: Console API Reference
    • WebKit: Console Object API
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Intercept calls to console.log in Chrome Can I extend the console object
I can use chrome's inspect element feature to view and debug my javascript, but
I know that Google Chrome extension can have some HTML and JavaScript. But I
I want to use chrome to display a full-screen html page for a presentation.
Can Chrome's last inspected elements be access with javascript? Background, trying to integrate this
Chrome can edit Javascript on the fly, without a full page refresh, similar to
I’m going through the documentation for the Selenium WebDriver, and it can drive Chrome
Can you use Chrome Web Browser webkit engine in WebBrowser control in WindowsForms?
If I start typing stackov.. in Chrome I can see something like 'Press Tab
how can I use jQuery in my google chrome extension without conflicting with the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.