How to Change the Color of an Address Bar

Updated April 17, 2017

Popular browsers, such as Mozilla Firefox and Internet Explorer, allow you to apply custom skins to the browser's interface. To fully customise your Web browser, you can also change the colour of the address bar to match the skin. rnrnWhile you must edit Windows' display properties to modify the colour of the address bar in Internet Explorer, to change the colour of the address bar in Mozilla Firefox, you need only add a special code to the userChrome.css file.

Exit Firefox. Press "Ctrl"+"E" to open Windows Explorer. Type into the address bar "C:\Documents and Settings\\Application Data\Mozilla\Firefox\Profiles\\chrome". Replace "" with your Windows account name. Replace with the name of your Firefox profile. Hit "Enter."

Right-click "userChrome-example.css." Click "Rename." Delete the "example" portion of the file name.

Right-click "userChrome.css" and point to "Open With." Select "Notepad" from the list of options.

Paste into the bottom of the document the following text: "#urlbar { background-colour: # !important; colour: # !important; }". Replace "" with the hexadecimal code of your desired background colour, and replace "" with the hexadecimal code of your desire font colour. Enter "FFFFFF" for white, "000000" for black, "FF0000" for red, "0000FF" for blue, "FFFF00" for yellow, "00FF00" for green, "FF7F00" for orange or "FF00FF" for magenta.

Click "File," then "Save." Launch Firefox to view the modified address bar.

Right-click the desktop. Select "Properties" from the pop-up menu. Click the "Appearance" tab, then click "Advanced."

Select "Window" from the drop-down menu labelled "Item." Select a new colour from the available palette, or click "Other" to access a wider range of colours.

Click "OK." Click "OK" again to change your address bar's appearance.


To change the colour of the address bar in Safari or Google Chrome, follow the directions as indicated for Internet Explorer.


Modifying the "Window" colour will effect other parts of the operating system's graphical user interface, along with the address bar.

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Ruri Ranbe has been working as a writer since 2008. She received an A.A. in English literature from Valencia College and is completing a B.S. in computer science at the University of Central Florida. Ranbe also has more than six years of professional information-technology experience, specializing in computer architecture, operating systems, networking, server administration, virtualization and Web design.