Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

The JavaScript FAQ
Prev Home Next

Color Names

Question: What color names are supported by JavaScript?

Answer: In some old browsers (e.g. Internet Explorer 3.x) JavaScript supported only 16 color names:

aqua     #00FFFF    lime     #00FF00    silver   #C0C0C0
black    #000000    maroon   #800000    teal     #008080
blue     #0000FF    navy     #000080    white    #FFFFFF
fuchsia  #FF00FF    olive    #808000    yellow   #FFFF00
gray     #808080    purple   #800080
green    #008000    red      #FF0000  
In newer browsers, there are many more supported color names (see list below). You can try all these colors here:

JavaScripter.net. Copyright © 1999-2006, Alexei Kourbatov

The JavaScript FAQ
Prev Home Next


 
 
  Mirrored with kind permission of Alexei Kourbatov Design by Interspire