enum TextUi::Color

Defined in:

textui/color.cr

Enum Members

Black = 0
Maroon = 1
Green = 2
Olive = 3
Navy = 4
Purple = 5
Teal = 6
Silver = 7
Grey = 8
Red = 9
Lime = 10
Yellow = 11
Blue = 12
Fuchsia = 13
Aqua = 14
White = 15
Grey1 = 16
NavyBlue = 17
DarkBlue = 18
Blue1 = 19
Blue2 = 20
Blue3 = 21
DarkGreen = 22
DeepSkyBlue = 23
DeepSkyBlue1 = 24
DeepSkyBlue2 = 25
DodgerBlue = 26
DodgerBlue1 = 27
Green1 = 28
SpringGreen = 29
Turquoise = 30
DeepSkyBlue3 = 31
DeepSkyBlue4 = 32
DodgerBlue2 = 33
Green2 = 34
SpringGreen1 = 35
DarkCyan = 36
LightSeaGreen = 37
DeepSkyBlue5 = 38
DeepSkyBlue6 = 39
Green3 = 40
SpringGreen2 = 41
SpringGreen3 = 42
Cyan = 43
DarkTurquoise = 44
Turquoise1 = 45
Green4 = 46
SpringGreen4 = 47
SpringGreen5 = 48
MediumSpringGreen = 49
Cyan1 = 50
Cyan2 = 51
DarkRed = 52
DeepPink = 53
Purple1 = 54
Purple2 = 55
Purple3 = 56
BlueViolet = 57
Orange = 58
Grey2 = 59
MediumPurple = 60
SlateBlue = 61
SlateBlue1 = 62
RoyalBlue = 63
Chartreuse = 64
DarkSeaGreen = 65
PaleTurquoise = 66
SteelBlue = 67
SteelBlue1 = 68
CornflowerBlue = 69
Chartreuse1 = 70
DarkSeaGreen1 = 71
CadetBlue = 72
CadetBlue1 = 73
SkyBlue = 74
SteelBlue2 = 75
Chartreuse2 = 76
PaleGreen = 77
SeaGreen = 78
Aquamarine = 79
MediumTurquoise = 80
SteelBlue3 = 81
Chartreuse3 = 82
SeaGreen1 = 83
SeaGreen2 = 84
SeaGreen3 = 85
Aquamarine1 = 86
DarkSlateGray = 87
DarkRed1 = 88
DeepPink1 = 89
DarkMagenta = 90
DarkMagenta1 = 91
DarkViolet = 92
Purple4 = 93
Orange1 = 94
LightPink = 95
Plum = 96
MediumPurple1 = 97
MediumPurple2 = 98
SlateBlue2 = 99
Yellow1 = 100
Wheat = 101
Grey3 = 102
LightSlateGrey = 103
MediumPurple3 = 104
LightSlateBlue = 105
Yellow2 = 106
DarkOliveGreen = 107
DarkSeaGreen2 = 108
LightSkyBlue = 109
LightSkyBlue1 = 110
SkyBlue1 = 111
Chartreuse4 = 112
DarkOliveGreen1 = 113
PaleGreen1 = 114
DarkSeaGreen3 = 115
DarkSlateGray1 = 116
SkyBlue2 = 117
Chartreuse5 = 118
LightGreen = 119
LightGreen1 = 120
PaleGreen2 = 121
Aquamarine2 = 122
DarkSlateGray2 = 123
Red1 = 124
DeepPink2 = 125
MediumVioletRed = 126
Magenta = 127
DarkViolet1 = 128
Purple5 = 129
DarkOrange = 130
IndianRed = 131
HotPink = 132
MediumOrchid = 133
MediumOrchid1 = 134
MediumPurple4 = 135
DarkGoldenrod = 136
LightSalmon = 137
RosyBrown = 138
Grey4 = 139
MediumPurple5 = 140
MediumPurple6 = 141
Gold = 142
DarkKhaki = 143
NavajoWhite = 144
Grey5 = 145
LightSteelBlue = 146
LightSteelBlue1 = 147
Yellow3 = 148
DarkOliveGreen2 = 149
DarkSeaGreen4 = 150
DarkSeaGreen5 = 151
LightCyan = 152
LightSkyBlue2 = 153
GreenYellow = 154
DarkOliveGreen3 = 155
PaleGreen3 = 156
DarkSeaGreen6 = 157
DarkSeaGreen7 = 158
PaleTurquoise1 = 159
Red2 = 160
DeepPink3 = 161
DeepPink4 = 162
Magenta1 = 163
Magenta2 = 164
Magenta3 = 165
DarkOrange1 = 166
IndianRed1 = 167
HotPink1 = 168
HotPink2 = 169
Orchid = 170
MediumOrchid2 = 171
Orange2 = 172
LightSalmon1 = 173
LightPink1 = 174
Pink = 175
Plum1 = 176
Violet = 177
Gold1 = 178
LightGoldenrod = 179
Tan = 180
MistyRose = 181
Thistle = 182
Plum2 = 183
Yellow4 = 184
Khaki = 185
LightGoldenrod1 = 186
LightYellow = 187
Grey6 = 188
LightSteelBlue2 = 189
Yellow5 = 190
DarkOliveGreen4 = 191
DarkOliveGreen5 = 192
DarkSeaGreen8 = 193
Honeydew = 194
LightCyan1 = 195
Red3 = 196
DeepPink5 = 197
DeepPink6 = 198
DeepPink7 = 199
Magenta4 = 200
Magenta5 = 201
OrangeRed = 202
IndianRed2 = 203
IndianRed3 = 204
HotPink3 = 205
HotPink4 = 206
MediumOrchid3 = 207
DarkOrange2 = 208
Salmon = 209
LightCoral = 210
PaleVioletRed = 211
Orchid1 = 212
Orchid2 = 213
Orange3 = 214
SandyBrown = 215
LightSalmon2 = 216
LightPink2 = 217
Pink1 = 218
Plum3 = 219
Gold2 = 220
LightGoldenrod2 = 221
LightGoldenrod3 = 222
NavajoWhite1 = 223
MistyRose1 = 224
Thistle1 = 225
Yellow6 = 226
LightGoldenrod4 = 227
Khaki1 = 228
Wheat1 = 229
Cornsilk = 230
Grey7 = 231
Grey8 = 232
Grey9 = 233
Grey10 = 234
Grey11 = 235
Grey12 = 236
Grey13 = 237
Grey14 = 238
Grey15 = 239
Grey16 = 240
Grey17 = 241
Grey18 = 242
Grey19 = 243
Grey20 = 244
Grey21 = 245
Grey22 = 246
Grey23 = 247
Grey24 = 248
Grey25 = 249
Grey26 = 250
Grey27 = 251
Grey28 = 252
Grey29 = 253
Grey30 = 254
Grey31 = 255

Instance Method Summary

Instance Method Detail

def aqua? #

[View source]
def aquamarine1? #

[View source]
def aquamarine2? #

[View source]
def aquamarine? #

[View source]
def black? #

[View source]
def blue1? #

[View source]
def blue2? #

[View source]
def blue3? #

[View source]
def blue? #

[View source]
def blue_violet? #

[View source]
def cadet_blue1? #

[View source]
def cadet_blue? #

[View source]
def chartreuse1? #

[View source]
def chartreuse2? #

[View source]
def chartreuse3? #

[View source]
def chartreuse4? #

[View source]
def chartreuse5? #

[View source]
def chartreuse? #

[View source]
def cornflower_blue? #

[View source]
def cornsilk? #

[View source]
def cyan1? #

[View source]
def cyan2? #

[View source]
def cyan? #

[View source]
def dark_blue? #

[View source]
def dark_cyan? #

[View source]
def dark_goldenrod? #

[View source]
def dark_green? #

[View source]
def dark_khaki? #

[View source]
def dark_magenta1? #

[View source]
def dark_magenta? #

[View source]
def dark_olive_green1? #

[View source]
def dark_olive_green2? #

[View source]
def dark_olive_green3? #

[View source]
def dark_olive_green4? #

[View source]
def dark_olive_green5? #

[View source]
def dark_olive_green? #

[View source]
def dark_orange1? #

[View source]
def dark_orange2? #

[View source]
def dark_orange? #

[View source]
def dark_red1? #

[View source]
def dark_red? #

[View source]
def dark_sea_green1? #

[View source]
def dark_sea_green2? #

[View source]
def dark_sea_green3? #

[View source]
def dark_sea_green4? #

[View source]
def dark_sea_green5? #

[View source]
def dark_sea_green6? #

[View source]
def dark_sea_green7? #

[View source]
def dark_sea_green8? #

[View source]
def dark_sea_green? #

[View source]
def dark_slate_gray1? #

[View source]
def dark_slate_gray2? #

[View source]
def dark_slate_gray? #

[View source]
def dark_turquoise? #

[View source]
def dark_violet1? #

[View source]
def dark_violet? #

[View source]
def deep_pink1? #

[View source]
def deep_pink2? #

[View source]
def deep_pink3? #

[View source]
def deep_pink4? #

[View source]
def deep_pink5? #

[View source]
def deep_pink6? #

[View source]
def deep_pink7? #

[View source]
def deep_pink? #

[View source]
def deep_sky_blue1? #

[View source]
def deep_sky_blue2? #

[View source]
def deep_sky_blue3? #

[View source]
def deep_sky_blue4? #

[View source]
def deep_sky_blue5? #

[View source]
def deep_sky_blue6? #

[View source]
def deep_sky_blue? #

[View source]
def dodger_blue1? #

[View source]
def dodger_blue2? #

[View source]
def dodger_blue? #

[View source]
def fuchsia? #

[View source]
def gold1? #

[View source]
def gold2? #

[View source]
def gold? #

[View source]
def green1? #

[View source]
def green2? #

[View source]
def green3? #

[View source]
def green4? #

[View source]
def green? #

[View source]
def green_yellow? #

[View source]
def grey10? #

[View source]
def grey11? #

[View source]
def grey12? #

[View source]
def grey13? #

[View source]
def grey14? #

[View source]
def grey15? #

[View source]
def grey16? #

[View source]
def grey17? #

[View source]
def grey18? #

[View source]
def grey19? #

[View source]
def grey1? #

[View source]
def grey20? #

[View source]
def grey21? #

[View source]
def grey22? #

[View source]
def grey23? #

[View source]
def grey24? #

[View source]
def grey25? #

[View source]
def grey26? #

[View source]
def grey27? #

[View source]
def grey28? #

[View source]
def grey29? #

[View source]
def grey2? #

[View source]
def grey30? #

[View source]
def grey31? #

[View source]
def grey3? #

[View source]
def grey4? #

[View source]
def grey5? #

[View source]
def grey6? #

[View source]
def grey7? #

[View source]
def grey8? #

[View source]
def grey9? #

[View source]
def grey? #

[View source]
def honeydew? #

[View source]
def hot_pink1? #

[View source]
def hot_pink2? #

[View source]
def hot_pink3? #

[View source]
def hot_pink4? #

[View source]
def hot_pink? #

[View source]
def indian_red1? #

[View source]
def indian_red2? #

[View source]
def indian_red3? #

[View source]
def indian_red? #

[View source]
def khaki1? #

[View source]
def khaki? #

[View source]
def light_coral? #

[View source]
def light_cyan1? #

[View source]
def light_cyan? #

[View source]
def light_goldenrod1? #

[View source]
def light_goldenrod2? #

[View source]
def light_goldenrod3? #

[View source]
def light_goldenrod4? #

[View source]
def light_goldenrod? #

[View source]
def light_green1? #

[View source]
def light_green? #

[View source]
def light_pink1? #

[View source]
def light_pink2? #

[View source]
def light_pink? #

[View source]
def light_salmon1? #

[View source]
def light_salmon2? #

[View source]
def light_salmon? #

[View source]
def light_sea_green? #

[View source]
def light_sky_blue1? #

[View source]
def light_sky_blue2? #

[View source]
def light_sky_blue? #

[View source]
def light_slate_blue? #

[View source]
def light_slate_grey? #

[View source]
def light_steel_blue1? #

[View source]
def light_steel_blue2? #

[View source]
def light_steel_blue? #

[View source]
def light_yellow? #

[View source]
def lime? #

[View source]
def magenta1? #

[View source]
def magenta2? #

[View source]
def magenta3? #

[View source]
def magenta4? #

[View source]
def magenta5? #

[View source]
def magenta? #

[View source]
def maroon? #

[View source]
def medium_orchid1? #

[View source]
def medium_orchid2? #

[View source]
def medium_orchid3? #

[View source]
def medium_orchid? #

[View source]
def medium_purple1? #

[View source]
def medium_purple2? #

[View source]
def medium_purple3? #

[View source]
def medium_purple4? #

[View source]
def medium_purple5? #

[View source]
def medium_purple6? #

[View source]
def medium_purple? #

[View source]
def medium_spring_green? #

[View source]
def medium_turquoise? #

[View source]
def medium_violet_red? #

[View source]
def misty_rose1? #

[View source]
def misty_rose? #

[View source]
def navajo_white1? #

[View source]
def navajo_white? #

[View source]
def navy? #

[View source]
def navy_blue? #

[View source]
def olive? #

[View source]
def orange1? #

[View source]
def orange2? #

[View source]
def orange3? #

[View source]
def orange? #

[View source]
def orange_red? #

[View source]
def orchid1? #

[View source]
def orchid2? #

[View source]
def orchid? #

[View source]
def pale_green1? #

[View source]
def pale_green2? #

[View source]
def pale_green3? #

[View source]
def pale_green? #

[View source]
def pale_turquoise1? #

[View source]
def pale_turquoise? #

[View source]
def pale_violet_red? #

[View source]
def pink1? #

[View source]
def pink? #

[View source]
def plum1? #

[View source]
def plum2? #

[View source]
def plum3? #

[View source]
def plum? #

[View source]
def purple1? #

[View source]
def purple2? #

[View source]
def purple3? #

[View source]
def purple4? #

[View source]
def purple5? #

[View source]
def purple? #

[View source]
def red1? #

[View source]
def red2? #

[View source]
def red3? #

[View source]
def red? #

[View source]
def rosy_brown? #

[View source]
def royal_blue? #

[View source]
def salmon? #

[View source]
def sandy_brown? #

[View source]
def sea_green1? #

[View source]
def sea_green2? #

[View source]
def sea_green3? #

[View source]
def sea_green? #

[View source]
def silver? #

[View source]
def sky_blue1? #

[View source]
def sky_blue2? #

[View source]
def sky_blue? #

[View source]
def slate_blue1? #

[View source]
def slate_blue2? #

[View source]
def slate_blue? #

[View source]
def spring_green1? #

[View source]
def spring_green2? #

[View source]
def spring_green3? #

[View source]
def spring_green4? #

[View source]
def spring_green5? #

[View source]
def spring_green? #

[View source]
def steel_blue1? #

[View source]
def steel_blue2? #

[View source]
def steel_blue3? #

[View source]
def steel_blue? #

[View source]
def tan? #

[View source]
def teal? #

[View source]
def thistle1? #

[View source]
def thistle? #

[View source]
def turquoise1? #

[View source]
def turquoise? #

[View source]
def violet? #

[View source]
def wheat1? #

[View source]
def wheat? #

[View source]
def white? #

[View source]
def yellow1? #

[View source]
def yellow2? #

[View source]
def yellow3? #

[View source]
def yellow4? #

[View source]
def yellow5? #

[View source]
def yellow6? #

[View source]
def yellow? #

[View source]