ColorNameHex CodeRGB Code White#FFFFFFrgb(255, 255, 255) Silver#C0C0C0rgb(192, 192, 192) Gray#808080rgb(128, 128, 128) Black#000000rgb(0, 0, 0) Red#FF0000rgb(255, 0, 0) Maroon#800000rgb(128, 0, 0) Yellow#FFFF00rgb(255, 255, 0) ...
The three primary colors in hex-code, red, green and blue, could be formed by adding the highest intensity of the desired color with the lowest intensity of the other two colors. For example,HTML Colors (Color Codes) ExampleColor nameCode Red #FF0000 GREEN #00FF00 BLUE #0000FF...
There was a time where the HTML specification defined the color names that could be used within HTML documents. This is no longer the case — CSS has taken over the responsibility for defining colors within HTML documents. The following color code chart contains the 16 official HTML color names...
html backgound color codes, css color codes, hexadecimal color codes, rgb color codes and color names.
HTML CSS Scripting DatabaseHTML Text Color CodeYou can use the following HTML code to specify color text within your HTML documents.In HTML, color is applied using CSS (Cascading Style Sheets). More specifically, to set the foreground color of an element, you use the color property. To set...
For example, in HTML (HyperText Markup Language) tags and CSS (Cascading Style Sheets) that use color codes, you could use "red" instead of "#FF0000."Color NameColor CodeColor NameColor Code Red #FF0000 White #FFFFFF Cyan #00FFFF Silver #C0C0C0 Blue #0000FF Gray or Grey #808080 Dark...
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.
HTML <head><style>a{color:#FF0000; }/* CSS link color */</style></head><body><ahref="http://example.com/">A Red Link</a></body> Demo on CodePen For the examples in this tutorial we'll be using a Hex color code, but remember, there are many other possible CSS color values...
Yellow RGB code = 255*65536+255*256+0 = #FFFF00 RGB color table Basic colors: ColorHTML / CSS NameHex Code #RRGGBB Decimal Code (R,G,B) Black#000000(0,0,0) White#FFFFFF(255,255,255) Red#FF0000(255,0,0) Lime#00FF00(0,255,0) ...
Finally, here’s a handy CSS colors cheat sheet that covers color names, the associated hex code, and what the color looks like.HTML Color Name Hex Color Code Color Example white #FFFFFF ghostwhite #F8F8FF whitesmoke #F5F5F5 snow #FFFAFA ivory #FFFFF0 floralwhite #...