There are 16 values for a hexadecimal character, so in addition to the usual digits 0-9 we use A-F. By mixing Red, Green, and Blue we can select many colors (about 16 million). Each part is represented by two letters (hexadecimal characters to be precise). The color is specified in 3 parts: how much Red, Green, and Blue should be used.
This tells Safari that we want to set the background color and then provides the code for the color we want to use. The little curly bracket is the beginning of a potential collection of style Properties that we could apply to the body (we're just going to use one, but there are many others). In this case it is the "body", which is essentially analogous to the piece of paper on which you would write something. It tells Safari which part of a web page you want to apply the style to. It is just there for humans, to remind us of what we were trying to do. So what's a Style Sheet? It's just a set of rules for displaying web pages. (When you want to return to your style sheet, you will find that its name now appears in the list, so you don't have to go through the folder structure to find it). You should be back to bright white backgrounds or whatever the web page designer specified. again, go to the Advanced tab, click the arrows next to "Style sheet" and select "None selected". (It may also be ugly in combination with some other colors).įor such cases, you can easily return to the original default. As a result, the new background may be too light to give you enough contrast to read the light text. The bad news: It will also work for web pages where the original background was black, or some other dark color. The good news: This will work for most web pages. Tthe white background should have changed to a blue-gray. Navigate through the file structure to your new folder and select "MyStyle.css" OK, now you have to tell Safari to use your new style:ĭown where it says "Style sheet", click on the up-down arrows at the right.
Note that you will have to type over the ".txt" that is put into the name field automatically. the text file into your new folder, naming it "MyStyle.css". Remember where it is.Ĭopy and paste in the following text (I'll explain it later):īackground-color: #aaaabb ! important /* blue gray */ You could name it "My preferences" or something like that. To do this, you must create your own Style Sheet, as follows:Ĭreate a new Folder. Doing so, however, may still leave some white areas on the screen. That's probably the one you want to change. Most often, however, one color is prominent and fills most of the background. It is possible (likely even) that different parts of a web page will use different background colors. Gmail and Facebook specify white as the background color. If a background color was specified, Safari uses that color. There does not appear to be any way to change this (except to use a different browser most of them do let you change the default background color).Ģ. If no background color was specified, Safari defaults to using white. The author of a website may, or may not, have specified a background color for their web pages.ġ. You can override both of them, but you may not want to, at least not always. There are two situations in which the white background will show up in Safari.