HTML 3.2 colours : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

HTML 3.2 colours

Click any ball to view the corresponding colour palette.

Named Colours select palette Alphabetically (140) select palette BHS: by Brightness, Hue, Saturation select palette HBS: by Hue, Brightness, Saturation select palette SBH: by Saturation, Brightness, Hue select palette Java AWT Colours (16,777,216)
select palette RGB: Numerically (140) select palette BSH: by Brightness, Saturation, Hue select palette HSB: by Hue, Saturation, Brightness select palette SHB: by Saturation, Hue, Brightness select palette Java Swing Colours (16,777,216)
Numbered Colours selected palette HTML 3.2 (16) select palette Websafe (216) select palette Rainbow (4096) select palette Spectrum (401) select palette X11 (657)
Selected Colours select palette Pale (256) select palette Dark (2022) select palette Simple (105) select palette Greys (256) select palette Colour Schemes

HTML (Hypertext Markup Language) 3.2 Standard 16 Colours Sorted Alphabetically

HTML 3.2 Standard 16 named Colours Sorted Alphabetically.
Color Name Using name hex Using hex Red Green Blue Hue Sat Bright
Aqua test test test test #00ffff test test test test 0 255 255 0.500 1.000 1.000
Black test test test test #000000 test test test test 0 0 0 0.000 0.000 0.000
Blue test test test test #0000ff test test test test 0 0 255 0.333 1.000 1.000
Fuchsia test test test test #ff00ff test test test test 255 0 255 0.167 1.000 1.000
Gray test test test test #808080 test test test test 128 128 128 0.000 0.000 0.502
Green test test test test #008000 test test test test 0 128 0 0.667 1.000 0.502
Lime test test test test #00ff00 test test test test 0 255 0 0.667 1.000 1.000
Maroon test test test test #800000 test test test test 128 0 0 0.000 1.000 0.502
Navy test test test test #000080 test test test test 0 0 128 0.333 1.000 0.502
Olive test test test test #808000 test test test test 128 128 0 0.833 1.000 0.502
Purple test test test test #800080 test test test test 128 0 128 0.167 1.000 0.502
Red test test test test #ff0000 test test test test 255 0 0 0.000 1.000 1.000
Silver test test test test #c0c0c0 test test test test 192 192 192 0.000 0.000 0.753
Teal test test test test #008080 test test test test 0 128 128 0.500 1.000 0.502
White test test test test #ffffff test test test test 255 255 255 0.000 0.000 1.000
Yellow test test test test #ffff00 test test test test 255 255 0 0.833 1.000 1.000

How to use the Tables

The table above shows the Standard Netscape colours displayed eight ways, (colour on white, colour on black, black on colour, white on colour) both using alpha names and hex names. You can check out your browser for Netscape colour compatibility. It shows the Standard Netscape 8.0 alpha names such as "aliceblue" and also the hex, RGB (Red Green Blue) and HSB (Hue Saturation Brightness) values.

Netscape has a set of built-in colour names you can use HTML in the form:

<font color="aliceblue">

For compatibility with other browsers, it would be safer to specify the HTML with the hexadecimal RGB colour names. Netscape Composer automatically converts the colour names to the corresponding hex values:

<font color="#f0f8ff">

You can use the colours in Java with their decimal RGB names:

Color aliceblue = new Color( 240, 248, 255 );

or with their hex names:

Color aliceblue = new Color( 0xf0f8ff );

Depending on how compatible your browser is with Netscape 8.0 and if your video driver supports full colour, these colours may or may not render properly.

Note that Netscape includes support all the colours in the HTML 3.2 standard colour set.

The one-shot Java program Palette that created the HTML tables shown here is available on request. You can see also see the full table in raw ASCII (American Standard Code for Information Interchange) text form. You might cannibalise them to support named colours in your Java apps.


This page is posted
on the web at:

http://mindprod.com/jgloss/palette16html3byalpha.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\palette16html3byalpha.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.135.247.24]
You are visitor number