And here are examples of some popular colors. You get the picture? Now you should be able to experiment yourself. The following tables show some of the basic colors and their hexidecimal codes, as well as a sampling of different hues and shades Equal Mixtures of all 3 base colors=Black,Greys,WhiteīASIC COLORS = Red, Green, Blue - dark to lightĢ0% more Red + equal amounts Green & BlueĤ0% more Red + equal amounts Green & BlueĢ0% more Green + equal amounts Red & BlueĤ0% more Green + equal amounts Red & BlueĢ0% more Blue + equal amounts Red & GreenĤ0% more Blue + equal amounts Red & Green If you do not specify a background color, it will be white by default. rr, gg, bb represent the hexidecimal number for the proportion of Red, Green and Blue respectively. In HTML (or XML) coding, you change the background color of the whole page with the statement: bgcolor="#rrggbb" within the statement at the beginning of the page. see the convenient crossreference between hexadecimal, RGB decimal and percentage numbers. These are perfectly adequate, and in addition are recognized by all browsers and printers. Using base color variations equally spaced at 1/5 intervals (20%) ( 00, 33, 66, 99, cc and ff) still gives 216 total color variations for text and background colors. Of course, no human eye is capable of differentiating between such fine differences. With 256 possible shades of any of the three colors, the total number of possible color combinations is 16,777,216. You can change the background color individually for each cell of the table, as is done in the examples below. Here the color was changed to light green ( ). ![]() ![]() You change the background color within a table with the statement: bgcolor="#rrggbb" at the beginning of the table statement. You change text color with the statement: Don't forget to place the statement: when you want to switch back to normal color! Here the text color was changed to Blue (). In between there is an almost infinite number of combinations, see a selection of colors lower on the page. Black is the lack of any color and is represented by #000000 White is a 100% mixture of all colors and is represented by #ffffff. 00 represents an absence of the appropriate color, ff (= decimal 255) represents the maximum amount. In HTML (or XML) coding, colors are defined with statements: "#rrggbb", where rr, gg, bb represent the hexidecimal number for the proportion of Red, Green and Blue respectively. Here's how you can add, or change, colors in your document. It makes it more attractive and titles, or other phrases, that you want the reader to notice, will stand out. ![]() Judicious use of color enhances the appearance of a Web page. Also see How to use HTML tags, Tables provide an attractive layout, Put a background on your Web-page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |