hunter69 Posted May 19, 2009 Share Posted May 19, 2009 hi guys I know this is a real dumb question so please don't flame me. I am trying to change the colours on my website and I believ this all has to be done in stylesheet.css but where do I get the definitions for the colours? (you know the #ffffff, or #fff03n stuff) THANKS Link to comment Share on other sites More sharing options...
hunter69 Posted May 19, 2009 Author Share Posted May 19, 2009 ALSO Do I have to add these colours somewhere like a gif or something? or do I just use the code and it will find it by itself? Link to comment Share on other sites More sharing options...
♥14steve14 Posted May 19, 2009 Share Posted May 19, 2009 just use the code and it will do it all for you. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
hunter69 Posted May 19, 2009 Author Share Posted May 19, 2009 ok but where do I go to figure out what code is what colour? Link to comment Share on other sites More sharing options...
MrPhil Posted May 19, 2009 Share Posted May 19, 2009 Any book that purports to teach you about programming HTML or CSS will have a list of named colors and perhaps samples of them. To do it yourself, the numbers are in groups of 6 hexadecimal values (0-9 a-f meaning 0-15). They are three pairs: rrggbb, with rr for red, gg for green, and bb for blue. 00 is minimum brightness (fully off), ff (decimal 255) is maximum brightness (fully on), and any other value 01 02 03 ... fd fe can be used in-between. 000000 is black, ffffff is white, ff0000 is bright red, 00ff00 is bright green, 0000ff is bright blue, 00ffff is cyan/turquoise, 808000 is dim yellow (brown), etc. Any case where the three numbers are the same (e.g., c0c0c0) is some shade of gray. Most displays these days can handle the full range of 16.7 million colors possible. In some HTML books you will find a caution about restricting yourself to a fixed set of a hundred or so colors, due to old limited palette display adapters and video displays, but these are now rare. If you don't want to spend a lot of time agonizing over the choice between c0c0bf and c0c0c1, just pick the "web safe" color of c0c0c0. If you want to replicate a color you see in some image, fire up Photoshop or The GIMP and capture the image, then use the "eyedropper" tool to sample the color you like. The program will tell you the rrggbb code for it. Link to comment Share on other sites More sharing options...
♥14steve14 Posted May 19, 2009 Share Posted May 19, 2009 search google for html colours REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
hunter69 Posted May 19, 2009 Author Share Posted May 19, 2009 thank you very much guys that ia just what I neede to know. again thanks! Link to comment Share on other sites More sharing options...
RhinoFish Posted May 20, 2009 Share Posted May 20, 2009 fun color sites... 4096 Color Wheel: http://www.ficml.org/jemimap/style/color/wheel.html Web Designer's Color Reference Poster by VisiBone: http://www.visibone.com/color/poster4x.html HTML color codes and names: http://www.computerhope.com/htmcolor.htm Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.