MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / HTMLColors

Class HTMLColors

onjava/HTMLColors.java:11–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9import java.util.concurrent.*;
10
11public class HTMLColors {
12 public static final Object[][] ARRAY = {
13 { 0xF0F8FF, "AliceBlue" },
14 { 0xFAEBD7, "AntiqueWhite" },
15 { 0x7FFFD4, "Aquamarine" },
16 { 0xF0FFFF, "Azure" },
17 { 0xF5F5DC, "Beige" },
18 { 0xFFE4C4, "Bisque" },
19 { 0x000000, "Black" },
20 { 0xFFEBCD, "BlanchedAlmond" },
21 { 0x0000FF, "Blue" },
22 { 0x8A2BE2, "BlueViolet" },
23 { 0xA52A2A, "Brown" },
24 { 0xDEB887, "BurlyWood" },
25 { 0x5F9EA0, "CadetBlue" },
26 { 0x7FFF00, "Chartreuse" },
27 { 0xD2691E, "Chocolate" },
28 { 0xFF7F50, "Coral" },
29 { 0x6495ED, "CornflowerBlue" },
30 { 0xFFF8DC, "Cornsilk" },
31 { 0xDC143C, "Crimson" },
32 { 0x00FFFF, "Cyan" },
33 { 0x00008B, "DarkBlue" },
34 { 0x008B8B, "DarkCyan" },
35 { 0xB8860B, "DarkGoldenRod" },
36 { 0xA9A9A9, "DarkGray" },
37 { 0x006400, "DarkGreen" },
38 { 0xBDB76B, "DarkKhaki" },
39 { 0x8B008B, "DarkMagenta" },
40 { 0x556B2F, "DarkOliveGreen" },
41 { 0xFF8C00, "DarkOrange" },
42 { 0x9932CC, "DarkOrchid" },
43 { 0x8B0000, "DarkRed" },
44 { 0xE9967A, "DarkSalmon" },
45 { 0x8FBC8F, "DarkSeaGreen" },
46 { 0x483D8B, "DarkSlateBlue" },
47 { 0x2F4F4F, "DarkSlateGray" },
48 { 0x00CED1, "DarkTurquoise" },
49 { 0x9400D3, "DarkViolet" },
50 { 0xFF1493, "DeepPink" },
51 { 0x00BFFF, "DeepSkyBlue" },
52 { 0x696969, "DimGray" },
53 { 0x1E90FF, "DodgerBlue" },
54 { 0xB22222, "FireBrick" },
55 { 0xFFFAF0, "FloralWhite" },
56 { 0x228B22, "ForestGreen" },
57 { 0xDCDCDC, "Gainsboro" },
58 { 0xF8F8FF, "GhostWhite" },
59 { 0xFFD700, "Gold" },
60 { 0xDAA520, "GoldenRod" },
61 { 0x808080, "Gray" },
62 { 0x008000, "Green" },
63 { 0xADFF2F, "GreenYellow" },
64 { 0xF0FFF0, "HoneyDew" },
65 { 0xFF69B4, "HotPink" },
66 { 0xCD5C5C, "IndianRed" },
67 { 0x4B0082, "Indigo" },
68 { 0xFFFFF0, "Ivory" },

Callers

nothing calls this directly

Calls 2

invertMethod · 0.95
streamMethod · 0.45

Tested by

no test coverage detected