Changing the Color of a Clicked Hyperlink on Google Chrome

By Naomi Bolton

When you click a hyperlink in a browser such as Google Chrome, the color of the link changes. The color depends on the settings of the person who created the page. Different colors for clicked and unvisited hyperlinks make it easier to see at a glance which pages you have already viewed. Unfortunately, some website owners specify the same color for both types of links, which can be confusing. If you have a visual impairment, some colors may also be harder to distinguish. Fortunately, Google Chrome enables you to edit a custom style sheet which overrides the settings of the pages you visit. Using this style sheet, you can specify exactly what color you prefer for clicked hyperlinks.

Click the Start button, then click "Computer."

Navigate to the C drive and open the Users folder.

Double-click the folder that corresponds to your Windows username and double-click the AppData folder.

Navigate to the Local\Google\Chrome\UserData\Default\User StyleSheets folder, then right-click the Custom.css file.

Click "Open with" from the context menu, then click "Notepad."

Add the line "a:visited {color: yourcolor !important;}" (without the quotation marks) at the end of the file. Replace "yourcolor" with the color of your choosing. Use either the name of the color or the hexadecimal color code to specify the color of the visited link. For example, to change the color of visited links to bright red, use either "a:visited {color: bright red !important;}" or "a:visited {color: #00ff00!important;}."

Close Notepad to save the changes. There is no need to restart Google Chrome or to refresh the pages to view the changes.


If the AppData folder is not visible, click "Organize" at the top of Windows Explorer, then click "Folder and Search Options." Choose the "View" tab, and then click the radio button next to "Show hidden files, folders and drives."

Install the Google Chrome extension "Change Colors" (see link in Resources) if you want to change the visited link colors on a per-page basis.