fixed usage of grey vs gray, now we support both

This commit is contained in:
peterl%netscape.com 1998-10-26 23:11:07 +00:00
Родитель 447c6df83d
Коммит 7ab51700bd
3 изменённых файлов: 659 добавлений и 497 удалений

Просмотреть файл

@ -25,118 +25,125 @@
#define COLOR_DARKGOLDENROD 23
#define COLOR_DARKGRAY 24
#define COLOR_DARKGREEN 25
#define COLOR_DARKKHAKI 26
#define COLOR_DARKMAGENTA 27
#define COLOR_DARKOLIVEGREEN 28
#define COLOR_DARKORANGE 29
#define COLOR_DARKORCHID 30
#define COLOR_DARKRED 31
#define COLOR_DARKSALMON 32
#define COLOR_DARKSEAGREEN 33
#define COLOR_DARKSLATEBLUE 34
#define COLOR_DARKSLATEGRAY 35
#define COLOR_DARKTURQUOISE 36
#define COLOR_DARKVIOLET 37
#define COLOR_DEEPPINK 38
#define COLOR_DEEPSKYBLUE 39
#define COLOR_DIMGRAY 40
#define COLOR_DODGERBLUE 41
#define COLOR_FIREBRICK 42
#define COLOR_FLORALWHITE 43
#define COLOR_FORESTGREEN 44
#define COLOR_FUCHSIA 45
#define COLOR_GAINSBORO 46
#define COLOR_GHOSTWHITE 47
#define COLOR_GOLD 48
#define COLOR_GOLDENROD 49
#define COLOR_GRAY 50
#define COLOR_GREEN 51
#define COLOR_GREENYELLOW 52
#define COLOR_HONEYDEW 53
#define COLOR_HOTPINK 54
#define COLOR_INDIANRED 55
#define COLOR_INDIGO 56
#define COLOR_IVORY 57
#define COLOR_KHAKI 58
#define COLOR_LAVENDER 59
#define COLOR_LAVENDERBLUSH 60
#define COLOR_LAWNGREEN 61
#define COLOR_LEMONCHIFFON 62
#define COLOR_LIGHTBLUE 63
#define COLOR_LIGHTCORAL 64
#define COLOR_LIGHTCYAN 65
#define COLOR_LIGHTGOLDENRODYELLOW 66
#define COLOR_LIGHTGREEN 67
#define COLOR_LIGHTGREY 68
#define COLOR_LIGHTPINK 69
#define COLOR_LIGHTSALMON 70
#define COLOR_LIGHTSEAGREEN 71
#define COLOR_LIGHTSKYBLUE 72
#define COLOR_LIGHTSLATEGRAY 73
#define COLOR_LIGHTSTEELBLUE 74
#define COLOR_LIGHTYELLOW 75
#define COLOR_LIME 76
#define COLOR_LIMEGREEN 77
#define COLOR_LINEN 78
#define COLOR_MAGENTA 79
#define COLOR_MAROON 80
#define COLOR_MEDIUMAQUAMARINE 81
#define COLOR_MEDIUMBLUE 82
#define COLOR_MEDIUMORCHID 83
#define COLOR_MEDIUMPURPLE 84
#define COLOR_MEDIUMSEAGREEN 85
#define COLOR_MEDIUMSLATEBLUE 86
#define COLOR_MEDIUMSPRINGGREEN 87
#define COLOR_MEDIUMTURQUOISE 88
#define COLOR_MEDIUMVIOLETRED 89
#define COLOR_MIDNIGHTBLUE 90
#define COLOR_MINTCREAM 91
#define COLOR_MISTYROSE 92
#define COLOR_MOCCASIN 93
#define COLOR_NAVAJOWHITE 94
#define COLOR_NAVY 95
#define COLOR_OLDLACE 96
#define COLOR_OLIVE 97
#define COLOR_OLIVEDRAB 98
#define COLOR_ORANGE 99
#define COLOR_ORANGERED 100
#define COLOR_ORCHID 101
#define COLOR_PALEGOLDENROD 102
#define COLOR_PALEGREEN 103
#define COLOR_PALETURQUOISE 104
#define COLOR_PALEVIOLETRED 105
#define COLOR_PAPAYAWHIP 106
#define COLOR_PEACHPUFF 107
#define COLOR_PERU 108
#define COLOR_PINK 109
#define COLOR_PLUM 110
#define COLOR_POWDERBLUE 111
#define COLOR_PURPLE 112
#define COLOR_RED 113
#define COLOR_ROSYBROWN 114
#define COLOR_ROYALBLUE 115
#define COLOR_SADDLEBROWN 116
#define COLOR_SALMON 117
#define COLOR_SANDYBROWN 118
#define COLOR_SEAGREEN 119
#define COLOR_SEASHELL 120
#define COLOR_SIENNA 121
#define COLOR_SILVER 122
#define COLOR_SKYBLUE 123
#define COLOR_SLATEBLUE 124
#define COLOR_SLATEGRAY 125
#define COLOR_SNOW 126
#define COLOR_SPRINGGREEN 127
#define COLOR_STEELBLUE 128
#define COLOR_TAN 129
#define COLOR_TEAL 130
#define COLOR_THISTLE 131
#define COLOR_TOMATO 132
#define COLOR_TURQUOISE 133
#define COLOR_VIOLET 134
#define COLOR_WHEAT 135
#define COLOR_WHITE 136
#define COLOR_WHITESMOKE 137
#define COLOR_YELLOW 138
#define COLOR_YELLOWGREEN 139
#define COLOR_MAX 140
#define COLOR_DARKGREY 26
#define COLOR_DARKKHAKI 27
#define COLOR_DARKMAGENTA 28
#define COLOR_DARKOLIVEGREEN 29
#define COLOR_DARKORANGE 30
#define COLOR_DARKORCHID 31
#define COLOR_DARKRED 32
#define COLOR_DARKSALMON 33
#define COLOR_DARKSEAGREEN 34
#define COLOR_DARKSLATEBLUE 35
#define COLOR_DARKSLATEGRAY 36
#define COLOR_DARKSLATEGREY 37
#define COLOR_DARKTURQUOISE 38
#define COLOR_DARKVIOLET 39
#define COLOR_DEEPPINK 40
#define COLOR_DEEPSKYBLUE 41
#define COLOR_DIMGRAY 42
#define COLOR_DIMGREY 43
#define COLOR_DODGERBLUE 44
#define COLOR_FIREBRICK 45
#define COLOR_FLORALWHITE 46
#define COLOR_FORESTGREEN 47
#define COLOR_FUCHSIA 48
#define COLOR_GAINSBORO 49
#define COLOR_GHOSTWHITE 50
#define COLOR_GOLD 51
#define COLOR_GOLDENROD 52
#define COLOR_GRAY 53
#define COLOR_GREY 54
#define COLOR_GREEN 55
#define COLOR_GREENYELLOW 56
#define COLOR_HONEYDEW 57
#define COLOR_HOTPINK 58
#define COLOR_INDIANRED 59
#define COLOR_INDIGO 60
#define COLOR_IVORY 61
#define COLOR_KHAKI 62
#define COLOR_LAVENDER 63
#define COLOR_LAVENDERBLUSH 64
#define COLOR_LAWNGREEN 65
#define COLOR_LEMONCHIFFON 66
#define COLOR_LIGHTBLUE 67
#define COLOR_LIGHTCORAL 68
#define COLOR_LIGHTCYAN 69
#define COLOR_LIGHTGOLDENRODYELLOW 70
#define COLOR_LIGHTGRAY 71
#define COLOR_LIGHTGREEN 72
#define COLOR_LIGHTGREY 73
#define COLOR_LIGHTPINK 74
#define COLOR_LIGHTSALMON 75
#define COLOR_LIGHTSEAGREEN 76
#define COLOR_LIGHTSKYBLUE 77
#define COLOR_LIGHTSLATEGRAY 78
#define COLOR_LIGHTSLATEGREY 79
#define COLOR_LIGHTSTEELBLUE 80
#define COLOR_LIGHTYELLOW 81
#define COLOR_LIME 82
#define COLOR_LIMEGREEN 83
#define COLOR_LINEN 84
#define COLOR_MAGENTA 85
#define COLOR_MAROON 86
#define COLOR_MEDIUMAQUAMARINE 87
#define COLOR_MEDIUMBLUE 88
#define COLOR_MEDIUMORCHID 89
#define COLOR_MEDIUMPURPLE 90
#define COLOR_MEDIUMSEAGREEN 91
#define COLOR_MEDIUMSLATEBLUE 92
#define COLOR_MEDIUMSPRINGGREEN 93
#define COLOR_MEDIUMTURQUOISE 94
#define COLOR_MEDIUMVIOLETRED 95
#define COLOR_MIDNIGHTBLUE 96
#define COLOR_MINTCREAM 97
#define COLOR_MISTYROSE 98
#define COLOR_MOCCASIN 99
#define COLOR_NAVAJOWHITE 100
#define COLOR_NAVY 101
#define COLOR_OLDLACE 102
#define COLOR_OLIVE 103
#define COLOR_OLIVEDRAB 104
#define COLOR_ORANGE 105
#define COLOR_ORANGERED 106
#define COLOR_ORCHID 107
#define COLOR_PALEGOLDENROD 108
#define COLOR_PALEGREEN 109
#define COLOR_PALETURQUOISE 110
#define COLOR_PALEVIOLETRED 111
#define COLOR_PAPAYAWHIP 112
#define COLOR_PEACHPUFF 113
#define COLOR_PERU 114
#define COLOR_PINK 115
#define COLOR_PLUM 116
#define COLOR_POWDERBLUE 117
#define COLOR_PURPLE 118
#define COLOR_RED 119
#define COLOR_ROSYBROWN 120
#define COLOR_ROYALBLUE 121
#define COLOR_SADDLEBROWN 122
#define COLOR_SALMON 123
#define COLOR_SANDYBROWN 124
#define COLOR_SEAGREEN 125
#define COLOR_SEASHELL 126
#define COLOR_SIENNA 127
#define COLOR_SILVER 128
#define COLOR_SKYBLUE 129
#define COLOR_SLATEBLUE 130
#define COLOR_SLATEGRAY 131
#define COLOR_SLATEGREY 132
#define COLOR_SNOW 133
#define COLOR_SPRINGGREEN 134
#define COLOR_STEELBLUE 135
#define COLOR_TAN 136
#define COLOR_TEAL 137
#define COLOR_THISTLE 138
#define COLOR_TOMATO 139
#define COLOR_TURQUOISE 140
#define COLOR_VIOLET 141
#define COLOR_WHEAT 142
#define COLOR_WHITE 143
#define COLOR_WHITESMOKE 144
#define COLOR_YELLOW 145
#define COLOR_YELLOWGREEN 146
#define COLOR_MAX 147

Просмотреть файл

@ -6,12 +6,12 @@
#include "plstr.h"
#include "nsColorNames.h"
#define TOTAL_KEYWORDS 140
#define TOTAL_KEYWORDS 147
#define MIN_WORD_LENGTH 3
#define MAX_WORD_LENGTH 20
#define MIN_HASH_VALUE 5
#define MAX_HASH_VALUE 573
/* maximum key range = 569, duplicates = 0 */
#define MIN_HASH_VALUE 3
#define MAX_HASH_VALUE 1260
/* maximum key range = 1258, duplicates = 0 */
struct StaticNameTable {
@ -50,317 +50,452 @@ PRInt32 nsColorNames::LookupName(const char* str)
{
static unsigned short asso_values[] =
{
574, 574, 574, 574, 574, 574, 574, 574, 574, 574,
574, 574, 574, 574, 574, 574, 574, 574, 574, 574,
574, 574, 574, 574, 574, 574, 574, 574, 574, 574,
574, 574, 574, 574, 574, 574, 574, 574, 574, 574,
574, 574, 574, 574, 574, 574, 574, 574, 574, 574,
574, 574, 574, 574, 574, 574, 574, 574, 574, 574,
574, 574, 574, 574, 574, 574, 574, 574, 574, 574,
574, 574, 574, 574, 574, 574, 574, 574, 574, 574,
574, 574, 574, 574, 574, 574, 574, 574, 574, 574,
574, 574, 574, 574, 574, 574, 574, 0, 200, 245,
30, 0, 105, 90, 0, 10, 0, 80, 0, 0,
0, 0, 140, 30, 20, 5, 25, 10, 10, 70,
574, 203, 5, 574, 574, 574, 574, 574,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261, 1261,
1261, 1261, 1261, 1261, 1261, 1261, 1261, 70, 15, 233,
0, 0, 25, 5, 130, 0, 0, 0, 0, 60,
25, 0, 245, 30, 0, 100, 40, 0, 75, 165,
1261, 80, 0, 1261, 1261, 1261, 1261, 1261,
};
static unsigned char lengthtable[] =
{
0, 0, 0, 0, 0, 5, 6, 0, 0, 0, 5, 6, 0, 8,
4, 5, 0, 0, 0, 0, 0, 6, 0, 8, 0, 0, 0, 0,
3, 4, 15, 0, 7, 8, 4, 0, 16, 0, 0, 0, 0, 0,
0, 0, 0, 10, 0, 0, 13, 14, 0, 11, 17, 3, 0, 0,
6, 7, 8, 0, 10, 6, 0, 0, 9, 15, 0, 12, 0, 0,
0, 0, 0, 0, 14, 5, 6, 12, 0, 4, 15, 0, 0, 0,
0, 10, 0, 0, 0, 0, 0, 11, 0, 0, 0, 0, 6, 0,
0, 9, 0, 0, 7, 0, 0, 5, 6, 0, 0, 0, 0, 0,
0, 0, 0, 5, 6, 7, 13, 9, 0, 0, 0, 0, 4, 5,
0, 0, 0, 9, 0, 11, 0, 0, 0, 0, 0, 7, 0, 9,
0, 0, 0, 13, 4, 0, 0, 0, 0, 9, 10, 0, 0, 0,
4, 10, 6, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 9, 0, 0,
12, 13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
10,
};
static struct StaticNameTable wordlist[] =
{
{"",}, {"",}, {"",}, {"",}, {"",},
{"olive", 97},
{"maroon", 80},
{"",}, {"",}, {"",},
{"azure", 4},
{"salmon", 117},
{"red", 119},
{"",},
{"seashell", 120},
{"lime", 76},
{"linen", 78},
{"",}, {"",}, {"",}, {"",}, {"",},
{"sienna", 121},
{"",},
{"moccasin", 93},
{"",}, {"",}, {"",}, {"",},
{"tan", 129},
{"teal", 130},
{"mediumslateblue", 86},
{"",},
{"magenta", 79},
{"seagreen", 119},
{"aqua", 2},
{"",},
{"mediumaquamarine", 81},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"darksalmon", 32},
{"",}, {"",},
{"darkslateblue", 34},
{"mediumseagreen", 85},
{"",},
{"lightsalmon", 70},
{"mediumspringgreen", 87},
{"red", 113},
{"",}, {"",},
{"tomato", 132},
{"thistle", 131},
{"lavender", 59},
{"",},
{"aquamarine", 3},
{"silver", 122},
{"",}, {"",},
{"turquoise", 133},
{"mediumvioletred", 89},
{"",},
{"darkseagreen", 33},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"darkolivegreen", 28},
{"white", 136},
{"violet", 134},
{"antiquewhite", 1},
{"",},
{"snow", 126},
{"mediumturquoise", 88},
{"",}, {"",}, {"",}, {"",},
{"darkviolet", 37},
{"",}, {"",}, {"",}, {"",}, {"",},
{"navajowhite", 94},
{"",}, {"",}, {"",}, {"",},
{"orchid", 101},
{"",}, {"",},
{"indianred", 55},
{"",}, {"",},
{"skyblue", 123},
{"",}, {"",},
{"khaki", 58},
{"indigo", 56},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"green", 51},
{"orange", 99},
{"darkred", 31},
{"darkturquoise", 36},
{"lawngreen", 61},
{"",}, {"",}, {"",}, {"",},
{"gold", 48},
{"wheat", 135},
{"olive", 103},
{"",}, {"",}, {"",},
{"limegreen", 77},
{"",},
{"darkmagenta", 27},
{"",}, {"",}, {"",}, {"",}, {"",},
{"fuchsia", 45},
{"",},
{"darkkhaki", 26},
{"",}, {"",}, {"",},
{"lightseagreen", 71},
{"plum", 110},
{"",}, {"",}, {"",}, {"",},
{"darkgreen", 25},
{"darkorange", 29},
{"",}, {"",}, {"",},
{"peru", 108},
{"lightgreen", 67},
{"purple", 112},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"whitesmoke", 137},
{"gold", 51},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",},
{"hotpink", 54},
{"",},
{"goldenrod", 49},
{"",}, {"",},
{"mediumpurple", 84},
{"darkgoldenrod", 23},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",},
{"floralwhite", 43},
{"",}, {"",},
{"orangered", 100},
{"",}, {"",}, {"",}, {"",},
{"blue", 9},
{"beige", 5},
{"",},
{"navy", 95},
{"",},
{"aliceblue", 0},
{"",}, {"",}, {"",}, {"",},
{"slateblue", 124},
{"dodgerblue", 44},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",},
{"saddlebrown", 116},
{"",}, {"",}, {"",},
{"ghostwhite", 47},
{"indigo", 60},
{"",}, {"",},
{"palevioletred", 105},
{"",},
{"goldenrod", 52},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",},
{"green", 55},
{"",}, {"",}, {"",},
{"lime", 82},
{"",}, {"",}, {"",}, {"",},
{"lightblue", 67},
{"brown", 11},
{"bisque", 6},
{"",}, {"",}, {"",}, {"",},
{"azure", 4},
{"",},
{"paleturquoise", 104},
{"royalblue", 115},
{"mediumblue", 82},
{"",}, {"",}, {"",},
{"pink", 109},
{"",},
{"forestgreen", 44},
{"darkred", 32},
{"",}, {"",},
{"steelblue", 128},
{"linen", 84},
{"orange", 105},
{"",}, {"",},
{"mistyrose", 92},
{"",},
{"lightblue", 63},
{"lightgoldenrodyellow", 66},
{"orangered", 106},
{"lightgreen", 72},
{"",}, {"",},
{"darkgoldenrod", 23},
{"grey", 54},
{"black", 7},
{"",}, {"",},
{"darkblue", 21},
{"rosybrown", 114},
{"coral", 16},
{"aliceblue", 0},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"royalblue", 121},
{"",},
{"oldlace", 96},
{"lavenderblush", 60},
{"chocolate", 15},
{"silver", 128},
{"",}, {"",},
{"olivedrab", 104},
{"",}, {"",}, {"",}, {"",},
{"teal", 137},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"bisque", 6},
{"",}, {"",},
{"limegreen", 83},
{"",}, {"",}, {"",}, {"",},
{"indianred", 59},
{"",}, {"",}, {"",}, {"",},
{"darkgreen", 25},
{"",}, {"",}, {"",}, {"",}, {"",},
{"blueviolet", 10},
{"",}, {"",}, {"",},
{"palegreen", 103},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"deeppink", 38},
{"",},
{"dodgerblue", 41},
{"darkslategray", 35},
{"",}, {"",}, {"",}, {"",}, {"",},
{"crimson", 19},
{"",},
{"lightsteelblue", 74},
{"",}, {"",}, {"",}, {"",},
{"mintcream", 91},
{"",}, {"",}, {"",}, {"",}, {"",},
{"lightcoral", 64},
{"mediumblue", 88},
{"tomato", 139},
{"",}, {"",},
{"palegoldenrod", 102},
{"turquoise", 140},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"gray", 53},
{"",},
{"gainsboro", 46},
{"chartreuse", 14},
{"violet", 141},
{"",},
{"mediumorchid", 83},
{"",}, {"",}, {"",},
{"honeydew", 53},
{"",}, {"",}, {"",}, {"",}, {"",},
{"gray", 50},
{"tan", 136},
{"steelblue", 135},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"aqua", 2},
{"mediumturquoise", 94},
{"",}, {"",},
{"deepskyblue", 39},
{"",}, {"",},
{"midnightblue", 90},
{"",}, {"",}, {"",},
{"springgreen", 127},
{"",}, {"",}, {"",}, {"",}, {"",},
{"lightskyblue", 72},
{"",}, {"",},
{"darkorchid", 30},
{"",}, {"",},
{"cornsilk", 18},
{"yellow", 138},
{"lavender", 63},
{"",},
{"darkgray", 24},
{"darkorange", 30},
{"",}, {"",}, {"",},
{"darkolivegreen", 29},
{"",},
{"maroon", 86},
{"skyblue", 129},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"slateblue", 130},
{"darkviolet", 39},
{"",}, {"",}, {"",},
{"gainsboro", 49},
{"",}, {"",},
{"lightpink", 69},
{"hotpink", 58},
{"",}, {"",},
{"khaki", 62},
{"deepskyblue", 41},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"lemonchiffon", 62},
{"lightsteelblue", 80},
{"",}, {"",},
{"black", 7},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"lightslategray", 73},
{"thistle", 138},
{"",},
{"yellowgreen", 139},
{"",}, {"",}, {"",}, {"",}, {"",},
{"powderblue", 111},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"lightyellow", 75},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",},
{"ivory", 57},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"lightgrey", 73},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"salmon", 123},
{"dimgrey", 43},
{"seagreen", 125},
{"",}, {"",},
{"cyan", 20},
{"forestgreen", 47},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"olivedrab", 98},
{"",}, {"",}, {"",}, {"",},
{"greenyellow", 52},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"dimgray", 40},
{"coral", 16},
{"orchid", 107},
{"ivory", 61},
{"",}, {"",},
{"darkgrey", 26},
{"",}, {"",},
{"saddlebrown", 122},
{"",}, {"",},
{"peru", 114},
{"mediumvioletred", 95},
{"purple", 118},
{"lightskyblue", 77},
{"darkturquoise", 38},
{"navy", 101},
{"",}, {"",}, {"",}, {"",}, {"",},
{"cadetblue", 13},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"darkcyan", 22},
{"lightgoldenrodyellow", 70},
{"",},
{"midnightblue", 96},
{"",}, {"",},
{"blanchedalmond", 8},
{"",}, {"",},
{"lightcyan", 65},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"sandybrown", 118},
{"peachpuff", 107},
{"",}, {"",}, {"",}, {"",},
{"firebrick", 42},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"slategray", 125},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"aquamarine", 3},
{"",}, {"",}, {"",},
{"burlywood", 12},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"lightgrey", 68},
{"",},
{"sienna", 127},
{"",}, {"",},
{"pink", 115},
{"",}, {"",}, {"",},
{"cornflowerblue", 17},
{"deeppink", 40},
{"darkkhaki", 27},
{"",}, {"",},
{"firebrick", 45},
{"lightseagreen", 76},
{"",}, {"",}, {"",}, {"",}, {"",},
{"lightgray", 71},
{"",}, {"",}, {"",},
{"darkslateblue", 35},
{"snow", 133},
{"",}, {"",},
{"dimgray", 42},
{"",},
{"lawngreen", 65},
{"white", 143},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"darkseagreen", 34},
{"seashell", 126},
{"plum", 116},
{"oldlace", 102},
{"yellowgreen", 146},
{"",},
{"darkgray", 24},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"mediumslateblue", 92},
{"",}, {"",}, {"",},
{"lightpink", 74},
{"",}, {"",}, {"",}, {"",},
{"mediumseagreen", 91},
{"",}, {"",}, {"",},
{"palegoldenrod", 108},
{"",},
{"darksalmon", 33},
{"lightsalmon", 75},
{"",}, {"",},
{"rosybrown", 120},
{"",},
{"cornsilk", 18},
{"",}, {"",},
{"slategrey", 132},
{"",}, {"",},
{"magenta", 85},
{"",},
{"mistyrose", 98},
{"",}, {"",}, {"",}, {"",},
{"lightslategrey", 79},
{"",}, {"",}, {"",},
{"lightcoral", 68},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"mediumorchid", 89},
{"mediumaquamarine", 87},
{"cadetblue", 13},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"mediumpurple", 90},
{"",},
{"palegreen", 109},
{"wheat", 142},
{"darkmagenta", 28},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"papayawhip", 106},
{"crimson", 19},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",},
{"floralwhite", 46},
{"",},
{"palevioletred", 111},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"cyan", 20},
{"",},
{"slategray", 131},
{"",},
{"yellow", 145},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"lightslategray", 78},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",},
{"powderblue", 117},
{"",}, {"",}, {"",}, {"",}, {"",},
{"springgreen", 134},
{"",},
{"darkorchid", 31},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"greenyellow", 56},
{"cornflowerblue", 17},
{"darkslategrey", 37},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",},
{"whitesmoke", 144},
{"lightyellow", 81},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"navajowhite", 100},
{"",}, {"",}, {"",}, {"",}, {"",},
{"chocolate", 15},
{"",}, {"",}, {"",}, {"",},
{"lightcyan", 69},
{"",}, {"",},
{"sandybrown", 124},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"paleturquoise", 110},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"fuchsia", 48},
{"",}, {"",}, {"",}, {"",}, {"",},
{"darkcyan", 22},
{"antiquewhite", 1},
{"",}, {"",}, {"",}, {"",},
{"mintcream", 97},
{"",}, {"",},
{"ghostwhite", 50},
{"moccasin", 99},
{"",},
{"darkslategray", 36},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",},
{"lemonchiffon", 66},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"mediumspringgreen", 93},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"lavenderblush", 64},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",},
{"honeydew", 57},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"chartreuse", 14},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"blanchedalmond", 8},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",},
{"peachpuff", 113},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",},
{"papayawhip", 112},
};
if (str != NULL) {
@ -371,12 +506,17 @@ PRInt32 nsColorNames::LookupName(const char* str)
switch (hval)
{
default:
case 13:
hval += asso_values[MYLOWER(str[12])];
case 12:
hval += asso_values[MYLOWER(str[11])];
case 11:
hval += asso_values[MYLOWER(str[10])];
case 10:
case 9:
hval += asso_values[MYLOWER(str[8])];
case 8:
hval += asso_values[MYLOWER(str[7])];
case 7:
hval += asso_values[MYLOWER(str[6])];
case 6:
@ -385,6 +525,7 @@ PRInt32 nsColorNames::LookupName(const char* str)
hval += asso_values[MYLOWER(str[4])];
case 4:
case 3:
hval += asso_values[MYLOWER(str[2])];
case 2:
hval += asso_values[MYLOWER(str[1])];
case 1:
@ -449,118 +590,125 @@ const nsColorNames::NameTableEntry nsColorNames::kNameTable[] = {
{ "darkgoldenrod", 23 },
{ "darkgray", 24 },
{ "darkgreen", 25 },
{ "darkkhaki", 26 },
{ "darkmagenta", 27 },
{ "darkolivegreen", 28 },
{ "darkorange", 29 },
{ "darkorchid", 30 },
{ "darkred", 31 },
{ "darksalmon", 32 },
{ "darkseagreen", 33 },
{ "darkslateblue", 34 },
{ "darkslategray", 35 },
{ "darkturquoise", 36 },
{ "darkviolet", 37 },
{ "deeppink", 38 },
{ "deepskyblue", 39 },
{ "dimgray", 40 },
{ "dodgerblue", 41 },
{ "firebrick", 42 },
{ "floralwhite", 43 },
{ "forestgreen", 44 },
{ "fuchsia", 45 },
{ "gainsboro", 46 },
{ "ghostwhite", 47 },
{ "gold", 48 },
{ "goldenrod", 49 },
{ "gray", 50 },
{ "green", 51 },
{ "greenyellow", 52 },
{ "honeydew", 53 },
{ "hotpink", 54 },
{ "indianred", 55 },
{ "indigo", 56 },
{ "ivory", 57 },
{ "khaki", 58 },
{ "lavender", 59 },
{ "lavenderblush", 60 },
{ "lawngreen", 61 },
{ "lemonchiffon", 62 },
{ "lightblue", 63 },
{ "lightcoral", 64 },
{ "lightcyan", 65 },
{ "lightgoldenrodyellow", 66 },
{ "lightgreen", 67 },
{ "lightgrey", 68 },
{ "lightpink", 69 },
{ "lightsalmon", 70 },
{ "lightseagreen", 71 },
{ "lightskyblue", 72 },
{ "lightslategray", 73 },
{ "lightsteelblue", 74 },
{ "lightyellow", 75 },
{ "lime", 76 },
{ "limegreen", 77 },
{ "linen", 78 },
{ "magenta", 79 },
{ "maroon", 80 },
{ "mediumaquamarine", 81 },
{ "mediumblue", 82 },
{ "mediumorchid", 83 },
{ "mediumpurple", 84 },
{ "mediumseagreen", 85 },
{ "mediumslateblue", 86 },
{ "mediumspringgreen", 87 },
{ "mediumturquoise", 88 },
{ "mediumvioletred", 89 },
{ "midnightblue", 90 },
{ "mintcream", 91 },
{ "mistyrose", 92 },
{ "moccasin", 93 },
{ "navajowhite", 94 },
{ "navy", 95 },
{ "oldlace", 96 },
{ "olive", 97 },
{ "olivedrab", 98 },
{ "orange", 99 },
{ "orangered", 100 },
{ "orchid", 101 },
{ "palegoldenrod", 102 },
{ "palegreen", 103 },
{ "paleturquoise", 104 },
{ "palevioletred", 105 },
{ "papayawhip", 106 },
{ "peachpuff", 107 },
{ "peru", 108 },
{ "pink", 109 },
{ "plum", 110 },
{ "powderblue", 111 },
{ "purple", 112 },
{ "red", 113 },
{ "rosybrown", 114 },
{ "royalblue", 115 },
{ "saddlebrown", 116 },
{ "salmon", 117 },
{ "sandybrown", 118 },
{ "seagreen", 119 },
{ "seashell", 120 },
{ "sienna", 121 },
{ "silver", 122 },
{ "skyblue", 123 },
{ "slateblue", 124 },
{ "slategray", 125 },
{ "snow", 126 },
{ "springgreen", 127 },
{ "steelblue", 128 },
{ "tan", 129 },
{ "teal", 130 },
{ "thistle", 131 },
{ "tomato", 132 },
{ "turquoise", 133 },
{ "violet", 134 },
{ "wheat", 135 },
{ "white", 136 },
{ "whitesmoke", 137 },
{ "yellow", 138 },
{ "yellowgreen", 139 },
{ "darkgrey", 26 },
{ "darkkhaki", 27 },
{ "darkmagenta", 28 },
{ "darkolivegreen", 29 },
{ "darkorange", 30 },
{ "darkorchid", 31 },
{ "darkred", 32 },
{ "darksalmon", 33 },
{ "darkseagreen", 34 },
{ "darkslateblue", 35 },
{ "darkslategray", 36 },
{ "darkslategrey", 37 },
{ "darkturquoise", 38 },
{ "darkviolet", 39 },
{ "deeppink", 40 },
{ "deepskyblue", 41 },
{ "dimgray", 42 },
{ "dimgrey", 43 },
{ "dodgerblue", 44 },
{ "firebrick", 45 },
{ "floralwhite", 46 },
{ "forestgreen", 47 },
{ "fuchsia", 48 },
{ "gainsboro", 49 },
{ "ghostwhite", 50 },
{ "gold", 51 },
{ "goldenrod", 52 },
{ "gray", 53 },
{ "grey", 54 },
{ "green", 55 },
{ "greenyellow", 56 },
{ "honeydew", 57 },
{ "hotpink", 58 },
{ "indianred", 59 },
{ "indigo", 60 },
{ "ivory", 61 },
{ "khaki", 62 },
{ "lavender", 63 },
{ "lavenderblush", 64 },
{ "lawngreen", 65 },
{ "lemonchiffon", 66 },
{ "lightblue", 67 },
{ "lightcoral", 68 },
{ "lightcyan", 69 },
{ "lightgoldenrodyellow", 70 },
{ "lightgray", 71 },
{ "lightgreen", 72 },
{ "lightgrey", 73 },
{ "lightpink", 74 },
{ "lightsalmon", 75 },
{ "lightseagreen", 76 },
{ "lightskyblue", 77 },
{ "lightslategray", 78 },
{ "lightslategrey", 79 },
{ "lightsteelblue", 80 },
{ "lightyellow", 81 },
{ "lime", 82 },
{ "limegreen", 83 },
{ "linen", 84 },
{ "magenta", 85 },
{ "maroon", 86 },
{ "mediumaquamarine", 87 },
{ "mediumblue", 88 },
{ "mediumorchid", 89 },
{ "mediumpurple", 90 },
{ "mediumseagreen", 91 },
{ "mediumslateblue", 92 },
{ "mediumspringgreen", 93 },
{ "mediumturquoise", 94 },
{ "mediumvioletred", 95 },
{ "midnightblue", 96 },
{ "mintcream", 97 },
{ "mistyrose", 98 },
{ "moccasin", 99 },
{ "navajowhite", 100 },
{ "navy", 101 },
{ "oldlace", 102 },
{ "olive", 103 },
{ "olivedrab", 104 },
{ "orange", 105 },
{ "orangered", 106 },
{ "orchid", 107 },
{ "palegoldenrod", 108 },
{ "palegreen", 109 },
{ "paleturquoise", 110 },
{ "palevioletred", 111 },
{ "papayawhip", 112 },
{ "peachpuff", 113 },
{ "peru", 114 },
{ "pink", 115 },
{ "plum", 116 },
{ "powderblue", 117 },
{ "purple", 118 },
{ "red", 119 },
{ "rosybrown", 120 },
{ "royalblue", 121 },
{ "saddlebrown", 122 },
{ "salmon", 123 },
{ "sandybrown", 124 },
{ "seagreen", 125 },
{ "seashell", 126 },
{ "sienna", 127 },
{ "silver", 128 },
{ "skyblue", 129 },
{ "slateblue", 130 },
{ "slategray", 131 },
{ "slategrey", 132 },
{ "snow", 133 },
{ "springgreen", 134 },
{ "steelblue", 135 },
{ "tan", 136 },
{ "teal", 137 },
{ "thistle", 138 },
{ "tomato", 139 },
{ "turquoise", 140 },
{ "violet", 141 },
{ "wheat", 142 },
{ "white", 143 },
{ "whitesmoke", 144 },
{ "yellow", 145 },
{ "yellowgreen", 146 },
};

Просмотреть файл

@ -27,6 +27,7 @@ nscolor nsColorNames::kColors[COLOR_MAX] = {
NS_RGB(184, 134, 11),
NS_RGB(169, 169, 169),
NS_RGB( 0, 100, 0),
NS_RGB(169, 169, 169),
NS_RGB(189, 183, 107),
NS_RGB(139, 0, 139),
NS_RGB( 85, 107, 47),
@ -37,11 +38,13 @@ nscolor nsColorNames::kColors[COLOR_MAX] = {
NS_RGB(143, 188, 143),
NS_RGB( 72, 61, 139),
NS_RGB( 47, 79, 79),
NS_RGB( 47, 79, 79),
NS_RGB( 0, 206, 209),
NS_RGB(148, 0, 211),
NS_RGB(255, 20, 147),
NS_RGB( 0, 191, 255),
NS_RGB(105, 105, 105),
NS_RGB(105, 105, 105),
NS_RGB( 30, 144, 255),
NS_RGB(178, 34, 34),
NS_RGB(255, 250, 240),
@ -52,6 +55,7 @@ nscolor nsColorNames::kColors[COLOR_MAX] = {
NS_RGB(255, 215, 0),
NS_RGB(218, 165, 32),
NS_RGB(128, 128, 128),
NS_RGB(128, 128, 128),
NS_RGB( 0, 128, 0),
NS_RGB(173, 255, 47),
NS_RGB(240, 255, 240),
@ -68,6 +72,7 @@ nscolor nsColorNames::kColors[COLOR_MAX] = {
NS_RGB(240, 128, 128),
NS_RGB(224, 255, 255),
NS_RGB(250, 250, 210),
NS_RGB(211, 211, 211),
NS_RGB(144, 238, 144),
NS_RGB(211, 211, 211),
NS_RGB(255, 182, 193),
@ -75,6 +80,7 @@ nscolor nsColorNames::kColors[COLOR_MAX] = {
NS_RGB( 32, 178, 170),
NS_RGB(135, 206, 250),
NS_RGB(119, 136, 153),
NS_RGB(119, 136, 153),
NS_RGB(176, 196, 222),
NS_RGB(255, 255, 224),
NS_RGB( 0, 255, 0),
@ -127,6 +133,7 @@ nscolor nsColorNames::kColors[COLOR_MAX] = {
NS_RGB(135, 206, 235),
NS_RGB(106, 90, 205),
NS_RGB(112, 128, 144),
NS_RGB(112, 128, 144),
NS_RGB(255, 250, 250),
NS_RGB( 0, 255, 127),
NS_RGB( 70, 130, 180),