-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
147 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
//go:build js && wasm | ||
// +build js,wasm | ||
|
||
package color | ||
|
||
var ( | ||
ALICEBLUE = [4]int{240, 248, 255, 255} | ||
ANTIQUEWHITE = [4]int{250, 235, 215, 255} | ||
AQUA = [4]int{0, 255, 255, 255} | ||
AQUAMARINE = [4]int{127, 255, 212, 255} | ||
AZURE = [4]int{240, 255, 255, 255} | ||
BEIGE = [4]int{245, 245, 220, 255} | ||
BISQUE = [4]int{255, 228, 196, 255} | ||
BLACK = [4]int{0, 0, 0, 255} | ||
BLANCHEDALMOND = [4]int{255, 235, 205, 255} | ||
BLUE = [4]int{0, 0, 255, 255} | ||
BLUEVIOLET = [4]int{138, 43, 226, 255} | ||
BROWN = [4]int{165, 42, 42, 255} | ||
BURLYWOOD = [4]int{222, 184, 135, 255} | ||
CADETBLUE = [4]int{95, 158, 160, 255} | ||
CHARTREUSE = [4]int{127, 255, 0, 255} | ||
CHOCOLATE = [4]int{210, 105, 30, 255} | ||
CORAL = [4]int{255, 127, 80, 255} | ||
CORNFLOWERBLUE = [4]int{100, 149, 237, 255} | ||
CORNSILK = [4]int{255, 248, 220, 255} | ||
CRIMSON = [4]int{220, 20, 60, 255} | ||
CYAN = [4]int{0, 255, 255, 255} | ||
DARKBLUE = [4]int{0, 0, 139, 255} | ||
DARKCYAN = [4]int{0, 139, 139, 255} | ||
DARKGOLDENROD = [4]int{184, 134, 11, 255} | ||
DARKGRAY = [4]int{169, 169, 169, 255} | ||
DARKGREEN = [4]int{0, 100, 0, 255} | ||
DARKKHAKI = [4]int{189, 183, 107, 255} | ||
DARKMAGENTA = [4]int{139, 0, 139, 255} | ||
DARKOLIVEGREEN = [4]int{85, 107, 47, 255} | ||
DARKORANGE = [4]int{255, 140, 0, 255} | ||
DARKORCHID = [4]int{153, 50, 204, 255} | ||
DARKRED = [4]int{139, 0, 0, 255} | ||
DARKSALMON = [4]int{233, 150, 122, 255} | ||
DARKSEAGREEN = [4]int{143, 188, 143, 255} | ||
DARKSLATEBLUE = [4]int{72, 61, 139, 255} | ||
DARKSLATEGRAY = [4]int{47, 79, 79, 255} | ||
DARKTURQUOISE = [4]int{0, 206, 209, 255} | ||
DARKVIOLET = [4]int{148, 0, 211, 255} | ||
DEEPPINK = [4]int{255, 20, 147, 255} | ||
DEEPSKYBLUE = [4]int{0, 191, 255, 255} | ||
DIMGRAY = [4]int{105, 105, 105, 255} | ||
DODGERBLUE = [4]int{30, 144, 255, 255} | ||
FIREBRICK = [4]int{178, 34, 34, 255} | ||
FLORALWHITE = [4]int{255, 250, 240, 255} | ||
FORESTGREEN = [4]int{34, 139, 34, 255} | ||
FUCHSIA = [4]int{255, 0, 255, 255} | ||
GAINSBORO = [4]int{220, 220, 220, 255} | ||
GHOSTWHITE = [4]int{248, 248, 255, 255} | ||
GOLD = [4]int{255, 215, 0, 255} | ||
GOLDENROD = [4]int{218, 165, 32, 255} | ||
GRAY = [4]int{128, 128, 128, 255} | ||
GREEN = [4]int{0, 128, 0, 255} | ||
GREENYELLOW = [4]int{173, 255, 47, 255} | ||
HONEYDEW = [4]int{240, 255, 240, 255} | ||
HOTPINK = [4]int{255, 105, 180, 255} | ||
INDIANRED = [4]int{205, 92, 92, 255} | ||
INDIGO = [4]int{75, 0, 130, 255} | ||
IVORY = [4]int{255, 255, 240, 255} | ||
KHAKI = [4]int{240, 230, 140, 255} | ||
LAVENDER = [4]int{230, 230, 250, 255} | ||
LAVENDERBLUSH = [4]int{255, 240, 245, 255} | ||
LAWNGREEN = [4]int{124, 252, 0, 255} | ||
LEMONCHIFFON = [4]int{255, 250, 205, 255} | ||
LIGHTBLUE = [4]int{173, 216, 230, 255} | ||
LIGHTCORAL = [4]int{240, 128, 128, 255} | ||
LIGHTCYAN = [4]int{224, 255, 255, 255} | ||
LIGHTGOLDENRODYELLOW = [4]int{250, 250, 210, 255} | ||
LIGHTGRAY = [4]int{211, 211, 211, 255} | ||
LIGHTGREEN = [4]int{144, 238, 144, 255} | ||
LIGHTSALMON = [4]int{255, 182, 193, 255} | ||
LIGHTSEAGREEN = [4]int{32, 178, 170, 255} | ||
LIGHTSKYBLUE = [4]int{135, 206, 250, 255} | ||
LIGHTSLATEGRAY = [4]int{119, 136, 153, 255} | ||
LIGHTSTEELBLUE = [4]int{176, 196, 222, 255} | ||
LIGHTYELLOW = [4]int{255, 255, 224, 255} | ||
LIME = [4]int{0, 255, 0, 255} | ||
LIMEGREEN = [4]int{50, 205, 50, 255} | ||
LINEN = [4]int{250, 240, 230, 255} | ||
MAGENTA = [4]int{255, 0, 255, 255} | ||
MAROON = [4]int{128, 0, 0, 255} | ||
MEDIUMAQUAMARINE = [4]int{102, 205, 170, 255} | ||
MEDIUMBLUE = [4]int{0, 0, 205, 255} | ||
MEDIUMORCHID = [4]int{186, 85, 211, 255} | ||
MEDIUMPURPLE = [4]int{147, 112, 219, 255} | ||
MEDIUMSEAGREEN = [4]int{60, 179, 113, 255} | ||
MEDIUMSLATEBLUE = [4]int{123, 104, 238, 255} | ||
MEDIUMSPRINGGREEN = [4]int{0, 250, 154, 255} | ||
MEDIUMTURQUOISE = [4]int{72, 209, 204, 255} | ||
MEDIUMVIOLETRED = [4]int{199, 21, 133, 255} | ||
MIDNIGHTBLUE = [4]int{25, 25, 112, 255} | ||
MINTCREAM = [4]int{245, 255, 250, 255} | ||
MISTYROSE = [4]int{255, 228, 225, 255} | ||
MOCCASIN = [4]int{255, 228, 181, 255} | ||
NAVAJOWHITE = [4]int{255, 222, 173, 255} | ||
NAVY = [4]int{0, 0, 128, 255} | ||
OLDLACE = [4]int{253, 245, 230, 255} | ||
OLIVE = [4]int{128, 128, 0, 255} | ||
OLIVEDRAB = [4]int{107, 142, 35, 255} | ||
ORANGE = [4]int{255, 165, 0, 255} | ||
ORANGERED = [4]int{255, 69, 0, 255} | ||
ORCHID = [4]int{218, 112, 214, 255} | ||
PALEGOLDENROD = [4]int{238, 232, 170, 255} | ||
PALEGREEN = [4]int{152, 251, 152, 255} | ||
PALETURQUOISE = [4]int{175, 238, 238, 255} | ||
PALEVIOLETRED = [4]int{219, 112, 147, 255} | ||
PAPAYAWHIP = [4]int{255, 239, 213, 255} | ||
PEACHPUFF = [4]int{255, 218, 185, 255} | ||
PERU = [4]int{205, 133, 63, 255} | ||
PINK = [4]int{255, 192, 203, 255} | ||
PLUM = [4]int{221, 160, 221, 255} | ||
POWDERBLUE = [4]int{176, 224, 230, 255} | ||
PURPLE = [4]int{128, 0, 128, 255} | ||
REBECCAPURPLE = [4]int{102, 51, 153, 255} | ||
RED = [4]int{255, 0, 0, 255} | ||
ROSYBROWN = [4]int{188, 143, 143, 255} | ||
ROYALBLUE = [4]int{65, 105, 225, 255} | ||
SADDLEBROWN = [4]int{139, 69, 19, 255} | ||
SALMON = [4]int{250, 128, 114, 255} | ||
SANDYBROWN = [4]int{244, 164, 96, 255} | ||
SEAGREEN = [4]int{46, 139, 87, 255} | ||
SEASHELL = [4]int{255, 245, 238, 255} | ||
SIENNA = [4]int{160, 82, 45, 255} | ||
SILVER = [4]int{192, 192, 192, 255} | ||
SKYBLUE = [4]int{135, 206, 235, 255} | ||
SLATEBLUE = [4]int{106, 90, 205, 255} | ||
SLATEGRAY = [4]int{112, 128, 144, 255} | ||
SNOW = [4]int{255, 250, 250, 255} | ||
SPRINGGREEN = [4]int{0, 255, 127, 255} | ||
STEELBLUE = [4]int{70, 130, 180, 255} | ||
TAN = [4]int{210, 180, 140, 255} | ||
TEAL = [4]int{0, 128, 128, 255} | ||
THISTLE = [4]int{216, 191, 216, 255} | ||
TOMATO = [4]int{255, 99, 71, 255} | ||
TURQUOISE = [4]int{64, 224, 208, 255} | ||
VIOLET = [4]int{238, 130, 238, 255} | ||
WHEAT = [4]int{245, 222, 179, 255} | ||
WHITE = [4]int{255, 255, 255, 255} | ||
WHITESMOKE = [4]int{245, 245, 245, 255} | ||
YELLOW = [4]int{255, 255, 0, 255} | ||
YELLOWGREEN = [4]int{154, 205, 50, 255} | ||
) |