SVG Tiny 1.2 - 20050413

4 Basic Data Types and Color Keywords

Contents

4.1 Basic Data Types

The common data types for SVG's properties and attributes fall into the following categories:

4.2 Recognized color keyword names

The following sixteen color keywords can be used as a keyword value for data type <color>:

black color-patch black rgb( 0, 0, 0) green color-patch green rgb( 0, 128, 0)
silver color-patch silver rgb(192, 192, 192) lime color-patch lime rgb( 0, 255, 0)
gray color-patch gray rgb(128, 128, 128) olive color-patch olive rgb(128, 128, 0)
white color-patch white rgb(255, 255, 255) yellow color-patch yellow rgb(255, 255, 0)
maroon color-patch maroon rgb(128, 0, 0) navy color-patch navy rgb( 0, 0, 128)
red color-patch red rgb(255, 0, 0) blue color-patch blue rgb( 0, 0, 255)
purple color-patch purple rgb(128, 0, 128) teal color-patch teal rgb( 0, 128, 128)
fuchsia color-patch fuchsia rgb(255, 0, 255) aqua color-patch aqua rgb( 0, 255, 255)