How to Change AWStats Background Color to Dark

Changing the background color of AWStats to a dark theme is pretty simple and straightforward. Here’s a guide to help you out:

  1. Locate the awstats.conf File:
    • First, you need to find the awstats.conf file. This is usually located in the AWStats configuration directory.
  2. Edit the awstats.conf File:
    • Open the awstats.conf file in your favorite text editor.
  3. Modify the Style:
    • Look for the style settings in the awstats.conf file. You’ll want to find the section where the background color is defined.
  4. Change the Background Color:
    • Replace the existing background color with your desired color. For a black background, you can use the hex code #000000.
Change awstats background color

Here’s an example of what the style section might look like after your changes:

Result after changing background color to dark mode
  1. Save and Refresh:
    • Save the changes to the awstats.conf file and refresh your AWStats page to see the new dark background in action.
  2. Restart Your Server:
    • Don’t forget to restart your server to apply the changes.

Feel free to play around with different colors until you find the one that suits your needs best. Enjoy your new dark-themed AWStats reporting!

Here the result after refining awstats color using dark background, look good is’nt it.

finale result after refining awstats color dark background

Leave a comment…

Scroll to Top