ftxui::Color
color.hpp
uint8_t Palette1 ftxui::Color::Palette1 Default
uint8_t Palette16 ftxui::Color::Palette16 Black = 0 Red = 1 Green = 2 Yellow = 3 Blue = 4 Magenta = 5 Cyan = 6 GrayLight = 7 GrayDark = 8 RedLight = 9 GreenLight = 10 YellowLight = 11 BlueLight = 12 MagentaLight = 13 CyanLight = 14 White = 15
uint8_t Palette256 ftxui::Color::Palette256 Aquamarine1 = 122 Aquamarine1Bis = 86 Aquamarine3 = 79 Blue1 = 21 Blue3 = 19 Blue3Bis = 20 BlueViolet = 57 CadetBlue = 72 CadetBlueBis = 73 Chartreuse1 = 118 Chartreuse2 = 112 Chartreuse2Bis = 82 Chartreuse3 = 70 Chartreuse3Bis = 76 Chartreuse4 = 64 CornflowerBlue = 69 Cornsilk1 = 230 Cyan1 = 51 Cyan2 = 50 Cyan3 = 43 DarkBlue = 18 DarkCyan = 36 DarkGoldenrod = 136 DarkGreen = 22 DarkKhaki = 143 DarkMagenta = 90 DarkMagentaBis = 91 DarkOliveGreen1 = 191 DarkOliveGreen1Bis = 192 DarkOliveGreen2 = 155 DarkOliveGreen3 = 107 DarkOliveGreen3Bis = 113 DarkOliveGreen3Ter = 149 DarkOrange = 208 DarkOrange3 = 130 DarkOrange3Bis = 166 DarkRed = 52 DarkRedBis = 88 DarkSeaGreen = 108 DarkSeaGreen1 = 158 DarkSeaGreen1Bis = 193 DarkSeaGreen2 = 151 DarkSeaGreen2Bis = 157 DarkSeaGreen3 = 115 DarkSeaGreen3Bis = 150 DarkSeaGreen4 = 65 DarkSeaGreen4Bis = 71 DarkSlateGray1 = 123 DarkSlateGray2 = 87 DarkSlateGray3 = 116 DarkTurquoise = 44 DarkViolet = 128 DarkVioletBis = 92 DeepPink1 = 198 DeepPink1Bis = 199 DeepPink2 = 197 DeepPink3 = 161 DeepPink3Bis = 162 DeepPink4 = 125 DeepPink4Bis = 89 DeepPink4Ter = 53 DeepSkyBlue1 = 39 DeepSkyBlue2 = 38 DeepSkyBlue3 = 31 DeepSkyBlue3Bis = 32 DeepSkyBlue4 = 23 DeepSkyBlue4Bis = 24 DeepSkyBlue4Ter = 25 DodgerBlue1 = 33 DodgerBlue2 = 27 DodgerBlue3 = 26 Gold1 = 220 Gold3 = 142 Gold3Bis = 178 Green1 = 46 Green3 = 34 Green3Bis = 40 Green4 = 28 GreenYellow = 154 Grey0 = 16 Grey100 = 231 Grey11 = 234 Grey15 = 235 Grey19 = 236 Grey23 = 237 Grey27 = 238 Grey3 = 232 Grey30 = 239 Grey35 = 240 Grey37 = 59 Grey39 = 241 Grey42 = 242 Grey46 = 243 Grey50 = 244 Grey53 = 102 Grey54 = 245 Grey58 = 246 Grey62 = 247 Grey63 = 139 Grey66 = 248 Grey69 = 145 Grey7 = 233 Grey70 = 249 Grey74 = 250 Grey78 = 251 Grey82 = 252 Grey84 = 188 Grey85 = 253 Grey89 = 254 Grey93 = 255 Honeydew2 = 194 HotPink = 205 HotPink2 = 169 HotPink3 = 132 HotPink3Bis = 168 HotPinkBis = 206 IndianRed = 131 IndianRed1 = 203 IndianRed1Bis = 204 IndianRedBis = 167 Khaki1 = 228 Khaki3 = 185 LightCoral = 210 LightCyan1Bis = 195 LightCyan3 = 152 LightGoldenrod1 = 227 LightGoldenrod2 = 186 LightGoldenrod2Bis = 221 LightGoldenrod2Ter = 222 LightGoldenrod3 = 179 LightGreen = 119 LightGreenBis = 120 LightPink1 = 217 LightPink3 = 174 LightPink4 = 95 LightSalmon1 = 216 LightSalmon3 = 137 LightSalmon3Bis = 173 LightSeaGreen = 37 LightSkyBlue1 = 153 LightSkyBlue3 = 109 LightSkyBlue3Bis = 110 LightSlateBlue = 105 LightSlateGrey = 103 LightSteelBlue = 147 LightSteelBlue1 = 189 LightSteelBlue3 = 146 LightYellow3 = 187 Magenta1 = 201 Magenta2 = 165 Magenta2Bis = 200 Magenta3 = 127 Magenta3Bis = 163 Magenta3Ter = 164 MediumOrchid = 134 MediumOrchid1 = 171 MediumOrchid1Bis = 207 MediumOrchid3 = 133 MediumPurple = 104 MediumPurple1 = 141 MediumPurple2 = 135 MediumPurple2Bis = 140 MediumPurple3 = 97 MediumPurple3Bis = 98 MediumPurple4 = 60 MediumSpringGreen = 49 MediumTurquoise = 80 MediumVioletRed = 126 MistyRose1 = 224 MistyRose3 = 181 NavajoWhite1 = 223 NavajoWhite3 = 144 NavyBlue = 17 Orange1 = 214 Orange3 = 172 Orange4 = 58 Orange4Bis = 94 OrangeRed1 = 202 Orchid = 170 Orchid1 = 213 Orchid2 = 212 PaleGreen1 = 121 PaleGreen1Bis = 156 PaleGreen3 = 114 PaleGreen3Bis = 77 PaleTurquoise1 = 159 PaleTurquoise4 = 66 PaleVioletRed1 = 211 Pink1 = 218 Pink3 = 175 Plum1 = 219 Plum2 = 183 Plum3 = 176 Plum4 = 96 Purple = 129 Purple3 = 56 Purple4 = 54 Purple4Bis = 55 PurpleBis = 93 Red1 = 196 Red3 = 124 Red3Bis = 160 RosyBrown = 138 RoyalBlue1 = 63 Salmon1 = 209 SandyBrown = 215 SeaGreen1 = 84 SeaGreen1Bis = 85 SeaGreen2 = 83 SeaGreen3 = 78 SkyBlue1 = 117 SkyBlue2 = 111 SkyBlue3 = 74 SlateBlue1 = 99 SlateBlue3 = 61 SlateBlue3Bis = 62 SpringGreen1 = 48 SpringGreen2 = 42 SpringGreen2Bis = 47 SpringGreen3 = 35 SpringGreen3Bis = 41 SpringGreen4 = 29 SteelBlue = 67 SteelBlue1 = 75 SteelBlue1Bis = 81 SteelBlue3 = 68 Tan = 180 Thistle1 = 225 Thistle3 = 182 Turquoise2 = 45 Turquoise4 = 30 Violet = 177 Wheat1 = 229 Wheat4 = 101 Yellow1 = 226 Yellow2 = 190 Yellow3 = 148 Yellow3Bis = 184 Yellow4 = 100 Yellow4Bis = 106
uint8_t ColorType ftxui::Color::ColorType Palette1 Palette16 Palette256 TrueColor
ColorType ColorType type_ type_ ftxui::Color::type_ = ColorType::Palette1
uint8_t uint8_t red_ red_ ftxui::Color::red_ = 0
uint8_t uint8_t green_ green_ ftxui::Color::green_ = 0
uint8_t uint8_t blue_ blue_ ftxui::Color::blue_ = 0
uint8_t uint8_t alpha_ alpha_ ftxui::Color::alpha_ = 0
Color
()
Color
ftxui::Color::Color

Build a transparent color.

Color
(Palette1 index)
Color
ftxui::Color::Color
Palette1 index

Build a transparent color.

Color
(Palette16 index)
Color
ftxui::Color::Color
Palette16 index

Build a color using the Palette16 colors.

Color
(Palette256 index)
Color
ftxui::Color::Color
Palette256 index

Build a color using Palette256 colors.

Color
(uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha=255)
Color
ftxui::Color::Color
uint8_t red
uint8_t green
uint8_t blue
uint8_t alpha 255

Build a Color from its RGB representation. https://en.wikipedia.org/wiki/RGB_color_model.

red

The quantity of red [0,255]

green

The quantity of green [0,255]

blue

The quantity of blue [0,255]

alpha

The quantity of alpha [0,255]

bool bool operator== (const Color &rhs) const operator== ftxui::Color::operator== const Color & rhs
bool bool operator!= (const Color &rhs) const operator!= ftxui::Color::operator!= const Color & rhs
std::string std::string Print (bool is_background_color) const Print ftxui::Color::Print bool is_background_color
bool bool IsOpaque () const IsOpaque ftxui::Color::IsOpaque
Color Color RGB (uint8_t red, uint8_t green, uint8_t blue) RGB ftxui::Color::RGB uint8_t red uint8_t green uint8_t blue

Build a Color from its RGB representation. https://en.wikipedia.org/wiki/RGB_color_model.

red

The quantity of red [0,255]

green

The quantity of green [0,255]

blue

The quantity of blue [0,255]

Color Color HSV (uint8_t hue, uint8_t saturation, uint8_t value) HSV ftxui::Color::HSV uint8_t hue h uint8_t saturation s uint8_t value v

Build a Color from its HSV representation. https://en.wikipedia.org/wiki/HSL_and_HSV.

h

The hue of the color [0,255]

s

The "colorfulness" [0,255].

v

The "Lightness" [0,255]

Color Color RGBA (uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha) RGBA ftxui::Color::RGBA uint8_t red uint8_t green uint8_t blue uint8_t alpha

Build a Color from its RGBA representation. https://en.wikipedia.org/wiki/RGB_color_model.

red

The quantity of red [0,255]

green

The quantity of green [0,255]

blue

The quantity of blue [0,255]

alpha

The quantity of alpha [0,255]

Color::RGB

Color Color HSVA (uint8_t hue, uint8_t saturation, uint8_t value, uint8_t alpha) HSVA ftxui::Color::HSVA uint8_t hue h uint8_t saturation s uint8_t value v uint8_t alpha

Build a Color from its HSV representation. https://en.wikipedia.org/wiki/HSL_and_HSV.

h

The hue of the color [0,255]

s

The "colorfulness" [0,255].

v

The "Lightness" [0,255]

alpha

The quantity of alpha [0,255]

Color Color Interpolate (float t, const Color &a, const Color &b) Interpolate ftxui::Color::Interpolate float t const Color & a const Color & b
Color Color Blend (const Color &lhs, const Color &rhs) Blend ftxui::Color::Blend const Color & lhs const Color & rhs

Blend two colors together using the alpha channel.

A class representing terminal colors.

- ftxui::Color
  alpha_
- ftxui::Color
  Aquamarine1
- ftxui::Color
  Aquamarine1Bis
- ftxui::Color
  Aquamarine3
- ftxui::Color
  Black
- ftxui::Color
  Blend
- ftxui::Color
  Blue
- ftxui::Color
  Blue1
- ftxui::Color
  Blue3
- ftxui::Color
  Blue3Bis
- ftxui::Color
  blue_
- ftxui::Color
  BlueLight
- ftxui::Color
  BlueViolet
- ftxui::Color
  CadetBlue
- ftxui::Color
  CadetBlueBis
- ftxui::Color
  Chartreuse1
- ftxui::Color
  Chartreuse2
- ftxui::Color
  Chartreuse2Bis
- ftxui::Color
  Chartreuse3
- ftxui::Color
  Chartreuse3Bis
- ftxui::Color
  Chartreuse4
- ftxui::Color
  Color
- ftxui::Color
  Color
- ftxui::Color
  Color
- ftxui::Color
  Color
- ftxui::Color
  Color
- ftxui::Color
  ColorType
- ftxui::Color
  CornflowerBlue
- ftxui::Color
  Cornsilk1
- ftxui::Color
  Cyan
- ftxui::Color
  Cyan1
- ftxui::Color
  Cyan2
- ftxui::Color
  Cyan3
- ftxui::Color
  CyanLight
- ftxui::Color
  DarkBlue
- ftxui::Color
  DarkCyan
- ftxui::Color
  DarkGoldenrod
- ftxui::Color
  DarkGreen
- ftxui::Color
  DarkKhaki
- ftxui::Color
  DarkMagenta
- ftxui::Color
  DarkMagentaBis
- ftxui::Color
  DarkOliveGreen1
- ftxui::Color
  DarkOliveGreen1Bis
- ftxui::Color
  DarkOliveGreen2
- ftxui::Color
  DarkOliveGreen3
- ftxui::Color
  DarkOliveGreen3Bis
- ftxui::Color
  DarkOliveGreen3Ter
- ftxui::Color
  DarkOrange
- ftxui::Color
  DarkOrange3
- ftxui::Color
  DarkOrange3Bis
- ftxui::Color
  DarkRed
- ftxui::Color
  DarkRedBis
- ftxui::Color
  DarkSeaGreen
- ftxui::Color
  DarkSeaGreen1
- ftxui::Color
  DarkSeaGreen1Bis
- ftxui::Color
  DarkSeaGreen2
- ftxui::Color
  DarkSeaGreen2Bis
- ftxui::Color
  DarkSeaGreen3
- ftxui::Color
  DarkSeaGreen3Bis
- ftxui::Color
  DarkSeaGreen4
- ftxui::Color
  DarkSeaGreen4Bis
- ftxui::Color
  DarkSlateGray1
- ftxui::Color
  DarkSlateGray2
- ftxui::Color
  DarkSlateGray3
- ftxui::Color
  DarkTurquoise
- ftxui::Color
  DarkViolet
- ftxui::Color
  DarkVioletBis
- ftxui::Color
  DeepPink1
- ftxui::Color
  DeepPink1Bis
- ftxui::Color
  DeepPink2
- ftxui::Color
  DeepPink3
- ftxui::Color
  DeepPink3Bis
- ftxui::Color
  DeepPink4
- ftxui::Color
  DeepPink4Bis
- ftxui::Color
  DeepPink4Ter
- ftxui::Color
  DeepSkyBlue1
- ftxui::Color
  DeepSkyBlue2
- ftxui::Color
  DeepSkyBlue3
- ftxui::Color
  DeepSkyBlue3Bis
- ftxui::Color
  DeepSkyBlue4
- ftxui::Color
  DeepSkyBlue4Bis
- ftxui::Color
  DeepSkyBlue4Ter
- ftxui::Color
  Default
- ftxui::Color
  DodgerBlue1
- ftxui::Color
  DodgerBlue2
- ftxui::Color
  DodgerBlue3
- ftxui::Color
  Gold1
- ftxui::Color
  Gold3
- ftxui::Color
  Gold3Bis
- ftxui::Color
  GrayDark
- ftxui::Color
  GrayLight
- ftxui::Color
  Green
- ftxui::Color
  Green1
- ftxui::Color
  Green3
- ftxui::Color
  Green3Bis
- ftxui::Color
  Green4
- ftxui::Color
  green_
- ftxui::Color
  GreenLight
- ftxui::Color
  GreenYellow
- ftxui::Color
  Grey0
- ftxui::Color
  Grey100
- ftxui::Color
  Grey11
- ftxui::Color
  Grey15
- ftxui::Color
  Grey19
- ftxui::Color
  Grey23
- ftxui::Color
  Grey27
- ftxui::Color
  Grey3
- ftxui::Color
  Grey30
- ftxui::Color
  Grey35
- ftxui::Color
  Grey37
- ftxui::Color
  Grey39
- ftxui::Color
  Grey42
- ftxui::Color
  Grey46
- ftxui::Color
  Grey50
- ftxui::Color
  Grey53
- ftxui::Color
  Grey54
- ftxui::Color
  Grey58
- ftxui::Color
  Grey62
- ftxui::Color
  Grey63
- ftxui::Color
  Grey66
- ftxui::Color
  Grey69
- ftxui::Color
  Grey7
- ftxui::Color
  Grey70
- ftxui::Color
  Grey74
- ftxui::Color
  Grey78
- ftxui::Color
  Grey82
- ftxui::Color
  Grey84
- ftxui::Color
  Grey85
- ftxui::Color
  Grey89
- ftxui::Color
  Grey93
- ftxui::Color
  Honeydew2
- ftxui::Color
  HotPink
- ftxui::Color
  HotPink2
- ftxui::Color
  HotPink3
- ftxui::Color
  HotPink3Bis
- ftxui::Color
  HotPinkBis
- ftxui::Color
  HSV
- ftxui::Color
  HSVA
- ftxui::Color
  IndianRed
- ftxui::Color
  IndianRed1
- ftxui::Color
  IndianRed1Bis
- ftxui::Color
  IndianRedBis
- ftxui::Color
  Interpolate
- ftxui::Color
  IsOpaque
- ftxui::Color
  Khaki1
- ftxui::Color
  Khaki3
- ftxui::Color
  LightCoral
- ftxui::Color
  LightCyan1Bis
- ftxui::Color
  LightCyan3
- ftxui::Color
  LightGoldenrod1
- ftxui::Color
  LightGoldenrod2
- ftxui::Color
  LightGoldenrod2Bis
- ftxui::Color
  LightGoldenrod2Ter
- ftxui::Color
  LightGoldenrod3
- ftxui::Color
  LightGreen
- ftxui::Color
  LightGreenBis
- ftxui::Color
  LightPink1
- ftxui::Color
  LightPink3
- ftxui::Color
  LightPink4
- ftxui::Color
  LightSalmon1
- ftxui::Color
  LightSalmon3
- ftxui::Color
  LightSalmon3Bis
- ftxui::Color
  LightSeaGreen
- ftxui::Color
  LightSkyBlue1
- ftxui::Color
  LightSkyBlue3
- ftxui::Color
  LightSkyBlue3Bis
- ftxui::Color
  LightSlateBlue
- ftxui::Color
  LightSlateGrey
- ftxui::Color
  LightSteelBlue
- ftxui::Color
  LightSteelBlue1
- ftxui::Color
  LightSteelBlue3
- ftxui::Color
  LightYellow3
- ftxui::Color
  Magenta
- ftxui::Color
  Magenta1
- ftxui::Color
  Magenta2
- ftxui::Color
  Magenta2Bis
- ftxui::Color
  Magenta3
- ftxui::Color
  Magenta3Bis
- ftxui::Color
  Magenta3Ter
- ftxui::Color
  MagentaLight
- ftxui::Color
  MediumOrchid
- ftxui::Color
  MediumOrchid1
- ftxui::Color
  MediumOrchid1Bis
- ftxui::Color
  MediumOrchid3
- ftxui::Color
  MediumPurple
- ftxui::Color
  MediumPurple1
- ftxui::Color
  MediumPurple2
- ftxui::Color
  MediumPurple2Bis
- ftxui::Color
  MediumPurple3
- ftxui::Color
  MediumPurple3Bis
- ftxui::Color
  MediumPurple4
- ftxui::Color
  MediumSpringGreen
- ftxui::Color
  MediumTurquoise
- ftxui::Color
  MediumVioletRed
- ftxui::Color
  MistyRose1
- ftxui::Color
  MistyRose3
- ftxui::Color
  NavajoWhite1
- ftxui::Color
  NavajoWhite3
- ftxui::Color
  NavyBlue
- ftxui::Color
  operator!=
- ftxui::Color
  operator==
- ftxui::Color
  Orange1
- ftxui::Color
  Orange3
- ftxui::Color
  Orange4
- ftxui::Color
  Orange4Bis
- ftxui::Color
  OrangeRed1
- ftxui::Color
  Orchid
- ftxui::Color
  Orchid1
- ftxui::Color
  Orchid2
- ftxui::Color
  PaleGreen1
- ftxui::Color
  PaleGreen1Bis
- ftxui::Color
  PaleGreen3
- ftxui::Color
  PaleGreen3Bis
- ftxui::Color
  Palette1
- ftxui::Color
  Palette16
- ftxui::Color
  Palette256
- ftxui::Color
  PaleTurquoise1
- ftxui::Color
  PaleTurquoise4
- ftxui::Color
  PaleVioletRed1
- ftxui::Color
  Pink1
- ftxui::Color
  Pink3
- ftxui::Color
  Plum1
- ftxui::Color
  Plum2
- ftxui::Color
  Plum3
- ftxui::Color
  Plum4
- ftxui::Color
  Print
- ftxui::Color
  Purple
- ftxui::Color
  Purple3
- ftxui::Color
  Purple4
- ftxui::Color
  Purple4Bis
- ftxui::Color
  PurpleBis
- ftxui::Color
  Red
- ftxui::Color
  Red1
- ftxui::Color
  Red3
- ftxui::Color
  Red3Bis
- ftxui::Color
  red_
- ftxui::Color
  RedLight
- ftxui::Color
  RGB
- ftxui::Color
  RGBA
- ftxui::Color
  RosyBrown
- ftxui::Color
  RoyalBlue1
- ftxui::Color
  Salmon1
- ftxui::Color
  SandyBrown
- ftxui::Color
  SeaGreen1
- ftxui::Color
  SeaGreen1Bis
- ftxui::Color
  SeaGreen2
- ftxui::Color
  SeaGreen3
- ftxui::Color
  SkyBlue1
- ftxui::Color
  SkyBlue2
- ftxui::Color
  SkyBlue3
- ftxui::Color
  SlateBlue1
- ftxui::Color
  SlateBlue3
- ftxui::Color
  SlateBlue3Bis
- ftxui::Color
  SpringGreen1
- ftxui::Color
  SpringGreen2
- ftxui::Color
  SpringGreen2Bis
- ftxui::Color
  SpringGreen3
- ftxui::Color
  SpringGreen3Bis
- ftxui::Color
  SpringGreen4
- ftxui::Color
  SteelBlue
- ftxui::Color
  SteelBlue1
- ftxui::Color
  SteelBlue1Bis
- ftxui::Color
  SteelBlue3
- ftxui::Color
  Tan
- ftxui::Color
  Thistle1
- ftxui::Color
  Thistle3
- ftxui::Color
  Turquoise2
- ftxui::Color
  Turquoise4
- ftxui::Color
  type_
- ftxui::Color
  Violet
- ftxui::Color
  Wheat1
- ftxui::Color
  Wheat4
- ftxui::Color
  White
- ftxui::Color
  Yellow
- ftxui::Color
  Yellow1
- ftxui::Color
  Yellow2
- ftxui::Color
  Yellow3
- ftxui::Color
  Yellow3Bis
- ftxui::Color
  Yellow4
- ftxui::Color
  Yellow4Bis
- ftxui::Color
  YellowLight