| 1 | package Term::Fabulous::Enum::WebColor; | ||
| 2 | |||
| 3 | 2 | ▶ | use v5.32; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | our $VERSION = '0.05'; | |
| 7 | |||
| 8 | 2 | ▶ | use Object::PadX::Enum; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | # The named colors of CSS Color Module Level 4, in alphabetical order, | ||
| 11 | # spelled as in the HTML color name listings (DarkGoldenRod, SeaShell). | ||
| 12 | enum Term::Fabulous::Enum::WebColor :isa(Term::Fabulous::Color) { | ||
| 13 | item AliceBlue( color => '#f0f8ff' ); | ||
| 14 | item AntiqueWhite( color => '#faebd7' ); | ||
| 15 | item Aqua( color => '#00ffff' ); | ||
| 16 | item Aquamarine( color => '#7fffd4' ); | ||
| 17 | item Azure( color => '#f0ffff' ); | ||
| 18 | item Beige( color => '#f5f5dc' ); | ||
| 19 | item Bisque( color => '#ffe4c4' ); | ||
| 20 | item Black( color => '#000000' ); | ||
| 21 | item BlanchedAlmond( color => '#ffebcd' ); | ||
| 22 | item Blue( color => '#0000ff' ); | ||
| 23 | item BlueViolet( color => '#8a2be2' ); | ||
| 24 | item Brown( color => '#a52a2a' ); | ||
| 25 | item BurlyWood( color => '#deb887' ); | ||
| 26 | item CadetBlue( color => '#5f9ea0' ); | ||
| 27 | item Chartreuse( color => '#7fff00' ); | ||
| 28 | item Chocolate( color => '#d2691e' ); | ||
| 29 | item Coral( color => '#ff7f50' ); | ||
| 30 | item CornflowerBlue( color => '#6495ed' ); | ||
| 31 | item Cornsilk( color => '#fff8dc' ); | ||
| 32 | item Crimson( color => '#dc143c' ); | ||
| 33 | item Cyan( color => '#00ffff' ); | ||
| 34 | item DarkBlue( color => '#00008b' ); | ||
| 35 | item DarkCyan( color => '#008b8b' ); | ||
| 36 | item DarkGoldenRod( color => '#b8860b' ); | ||
| 37 | item DarkGray( color => '#a9a9a9' ); | ||
| 38 | item DarkGreen( color => '#006400' ); | ||
| 39 | item DarkGrey( color => '#a9a9a9' ); | ||
| 40 | item DarkKhaki( color => '#bdb76b' ); | ||
| 41 | item DarkMagenta( color => '#8b008b' ); | ||
| 42 | item DarkOliveGreen( color => '#556b2f' ); | ||
| 43 | item DarkOrange( color => '#ff8c00' ); | ||
| 44 | item DarkOrchid( color => '#9932cc' ); | ||
| 45 | item DarkRed( color => '#8b0000' ); | ||
| 46 | item DarkSalmon( color => '#e9967a' ); | ||
| 47 | item DarkSeaGreen( color => '#8fbc8f' ); | ||
| 48 | item DarkSlateBlue( color => '#483d8b' ); | ||
| 49 | item DarkSlateGray( color => '#2f4f4f' ); | ||
| 50 | item DarkSlateGrey( color => '#2f4f4f' ); | ||
| 51 | item DarkTurquoise( color => '#00ced1' ); | ||
| 52 | item DarkViolet( color => '#9400d3' ); | ||
| 53 | item DeepPink( color => '#ff1493' ); | ||
| 54 | item DeepSkyBlue( color => '#00bfff' ); | ||
| 55 | item DimGray( color => '#696969' ); | ||
| 56 | item DimGrey( color => '#696969' ); | ||
| 57 | item DodgerBlue( color => '#1e90ff' ); | ||
| 58 | item FireBrick( color => '#b22222' ); | ||
| 59 | item FloralWhite( color => '#fffaf0' ); | ||
| 60 | item ForestGreen( color => '#228b22' ); | ||
| 61 | item Fuchsia( color => '#ff00ff' ); | ||
| 62 | item Gainsboro( color => '#dcdcdc' ); | ||
| 63 | item GhostWhite( color => '#f8f8ff' ); | ||
| 64 | item Gold( color => '#ffd700' ); | ||
| 65 | item GoldenRod( color => '#daa520' ); | ||
| 66 | item Gray( color => '#808080' ); | ||
| 67 | item Green( color => '#008000' ); | ||
| 68 | item GreenYellow( color => '#adff2f' ); | ||
| 69 | item Grey( color => '#808080' ); | ||
| 70 | item HoneyDew( color => '#f0fff0' ); | ||
| 71 | item HotPink( color => '#ff69b4' ); | ||
| 72 | item IndianRed( color => '#cd5c5c' ); | ||
| 73 | item Indigo( color => '#4b0082' ); | ||
| 74 | item Ivory( color => '#fffff0' ); | ||
| 75 | item Khaki( color => '#f0e68c' ); | ||
| 76 | item Lavender( color => '#e6e6fa' ); | ||
| 77 | item LavenderBlush( color => '#fff0f5' ); | ||
| 78 | item LawnGreen( color => '#7cfc00' ); | ||
| 79 | item LemonChiffon( color => '#fffacd' ); | ||
| 80 | item LightBlue( color => '#add8e6' ); | ||
| 81 | item LightCoral( color => '#f08080' ); | ||
| 82 | item LightCyan( color => '#e0ffff' ); | ||
| 83 | item LightGoldenRodYellow( color => '#fafad2' ); | ||
| 84 | item LightGray( color => '#d3d3d3' ); | ||
| 85 | item LightGreen( color => '#90ee90' ); | ||
| 86 | item LightGrey( color => '#d3d3d3' ); | ||
| 87 | item LightPink( color => '#ffb6c1' ); | ||
| 88 | item LightSalmon( color => '#ffa07a' ); | ||
| 89 | item LightSeaGreen( color => '#20b2aa' ); | ||
| 90 | item LightSkyBlue( color => '#87cefa' ); | ||
| 91 | item LightSlateGray( color => '#778899' ); | ||
| 92 | item LightSlateGrey( color => '#778899' ); | ||
| 93 | item LightSteelBlue( color => '#b0c4de' ); | ||
| 94 | item LightYellow( color => '#ffffe0' ); | ||
| 95 | item Lime( color => '#00ff00' ); | ||
| 96 | item LimeGreen( color => '#32cd32' ); | ||
| 97 | item Linen( color => '#faf0e6' ); | ||
| 98 | item Magenta( color => '#ff00ff' ); | ||
| 99 | item Maroon( color => '#800000' ); | ||
| 100 | item MediumAquaMarine( color => '#66cdaa' ); | ||
| 101 | item MediumBlue( color => '#0000cd' ); | ||
| 102 | item MediumOrchid( color => '#ba55d3' ); | ||
| 103 | item MediumPurple( color => '#9370db' ); | ||
| 104 | item MediumSeaGreen( color => '#3cb371' ); | ||
| 105 | item MediumSlateBlue( color => '#7b68ee' ); | ||
| 106 | item MediumSpringGreen( color => '#00fa9a' ); | ||
| 107 | item MediumTurquoise( color => '#48d1cc' ); | ||
| 108 | item MediumVioletRed( color => '#c71585' ); | ||
| 109 | item MidnightBlue( color => '#191970' ); | ||
| 110 | item MintCream( color => '#f5fffa' ); | ||
| 111 | item MistyRose( color => '#ffe4e1' ); | ||
| 112 | item Moccasin( color => '#ffe4b5' ); | ||
| 113 | item NavajoWhite( color => '#ffdead' ); | ||
| 114 | item Navy( color => '#000080' ); | ||
| 115 | item OldLace( color => '#fdf5e6' ); | ||
| 116 | item Olive( color => '#808000' ); | ||
| 117 | item OliveDrab( color => '#6b8e23' ); | ||
| 118 | item Orange( color => '#ffa500' ); | ||
| 119 | item OrangeRed( color => '#ff4500' ); | ||
| 120 | item Orchid( color => '#da70d6' ); | ||
| 121 | item PaleGoldenRod( color => '#eee8aa' ); | ||
| 122 | item PaleGreen( color => '#98fb98' ); | ||
| 123 | item PaleTurquoise( color => '#afeeee' ); | ||
| 124 | item PaleVioletRed( color => '#db7093' ); | ||
| 125 | item PapayaWhip( color => '#ffefd5' ); | ||
| 126 | item PeachPuff( color => '#ffdab9' ); | ||
| 127 | item Peru( color => '#cd853f' ); | ||
| 128 | item Pink( color => '#ffc0cb' ); | ||
| 129 | item Plum( color => '#dda0dd' ); | ||
| 130 | item PowderBlue( color => '#b0e0e6' ); | ||
| 131 | item Purple( color => '#800080' ); | ||
| 132 | item RebeccaPurple( color => '#663399' ); | ||
| 133 | item Red( color => '#ff0000' ); | ||
| 134 | item RosyBrown( color => '#bc8f8f' ); | ||
| 135 | item RoyalBlue( color => '#4169e1' ); | ||
| 136 | item SaddleBrown( color => '#8b4513' ); | ||
| 137 | item Salmon( color => '#fa8072' ); | ||
| 138 | item SandyBrown( color => '#f4a460' ); | ||
| 139 | item SeaGreen( color => '#2e8b57' ); | ||
| 140 | item SeaShell( color => '#fff5ee' ); | ||
| 141 | item Sienna( color => '#a0522d' ); | ||
| 142 | item Silver( color => '#c0c0c0' ); | ||
| 143 | item SkyBlue( color => '#87ceeb' ); | ||
| 144 | item SlateBlue( color => '#6a5acd' ); | ||
| 145 | item SlateGray( color => '#708090' ); | ||
| 146 | item SlateGrey( color => '#708090' ); | ||
| 147 | item Snow( color => '#fffafa' ); | ||
| 148 | item SpringGreen( color => '#00ff7f' ); | ||
| 149 | item SteelBlue( color => '#4682b4' ); | ||
| 150 | item Tan( color => '#d2b48c' ); | ||
| 151 | item Teal( color => '#008080' ); | ||
| 152 | item Thistle( color => '#d8bfd8' ); | ||
| 153 | item Tomato( color => '#ff6347' ); | ||
| 154 | item Turquoise( color => '#40e0d0' ); | ||
| 155 | item Violet( color => '#ee82ee' ); | ||
| 156 | item Wheat( color => '#f5deb3' ); | ||
| 157 | item White( color => '#ffffff' ); | ||
| 158 | item WhiteSmoke( color => '#f5f5f5' ); | ||
| 159 | item Yellow( color => '#ffff00' ); | ||
| 160 | item YellowGreen( color => '#9acd32' ); | ||
| 161 | } | ||
| 162 | |||
| 163 | 2 | 1; | |
| 164 | |||
| 165 | __END__ | ||