SVG color list (text format) index.

We start with the list from the W3C SVG 1.1 Recommendation, this list is also included in the proposed CSS-3 Recommendation. The SVG list contains 147 color names (keywords), removing the nine duplications reduces the list to 138 colors. Out of interest the duplications are, seven shades of gray where two versions of spelling have been provided e.g. 'lightgray' and 'lightgrey', or 'lightslategray' and 'lightslategrey'. The eighth duplication is 'aqua' and 'cyan' different name but the hexadecimal and rgb values are the same, and the ninth is 'fuchsia' and 'magenta' again different name but the other values are the same.

The tables on the following pages, with the exception of the 'Short Hexadecimal' page, each display the same SVG list of colors.

The reason for the duplication is convenience, to make it as easy as possible to find the type of data that you prefer to work with. The first page in the list below contains all of the value alternatives, the other pages each have one value type with, where applicable, the name (keyword) included for reference.

Two sets of data for some hexadecimal values

There are two pages covering hexadecimal values for the simple reason that we can use some hexadecimal numbers in a shortened form. The short notation or three-digit notation can be used in place of a six digit hex number that is made up of three pairs of numbers. For example the hex number for fuchsia is #ff00ff which we can shorten to #f0f and white is #ffffff which we can shorten to #fff.

This three-digit notation works because the browser will automatically insert the missing digits by duplicating the existing digits. So #f0f becomes #ff00ff and #fff becomes #ffffff and so on.

There are nine short notation hexadecimal numbers in the SVG list, if you exclude the names with the same hex and rgb values, i.e. aqua & cyan, fuchsia & magenta, and lightslategray & lightslategrey..