Below are the most used standard web colors supported by most browsers. There are three ways to define a color.
With both methods 2 and 3 let you mix three primary colors: red, green and blue. rgb(0,0,0) means none of these colors, which results in black. In contrast: rgb(255,255,255) is all three colors fully mixed, resulting in pure white. Hexadecimal numbers range from 00 to FF, while their decimal counterparts are 0 and 255.
| Color | Name | Hex | rgb(...) |
|---|---|---|---|
| aqua | #00FFFF | rgb(0,255,255) | |
| black | #000000 | rgb(0,0,0) | |
| blue | #0000FF | rgb(0,0,255) | |
| fuchsia | #FF00FF | rgb(255,0,255) | |
| gray | #808080 | rgb(128,128,128) | |
| green | #008000 | rgb(0,128,0) | |
| lime | #00FF00 | rgb(0,255,0) | |
| maroon | #800000 | rgb(128,0,0) | |
| navy | #000080 | rgb(0,0,128) | |
| olive | #808000 | rgb(128,128,0) | |
| purple | #800080 | rgb(128,0,128) | |
| red | #FF0000 | rgb(255,0,0) | |
| silver | #C0C0C0 | rgb(192,192,192) | |
| teal | #008080 | rgb(0,128,128) | |
| white | #FFFFFF | rgb(255,255,255) | |
| yellow | #FFFF00 | rgb(255,255,0) |
Note: Your browser does not seem to support JavaScript or you do not have it enabled. Although this is not a problem, you are missing some small but useful features on this site.