libghostty
Loading...
Searching...
No Matches
color.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  GhosttyColorRgb

Macros

#define GHOSTTY_COLOR_NAMED_BLACK   0
#define GHOSTTY_COLOR_NAMED_RED   1
#define GHOSTTY_COLOR_NAMED_GREEN   2
#define GHOSTTY_COLOR_NAMED_YELLOW   3
#define GHOSTTY_COLOR_NAMED_BLUE   4
#define GHOSTTY_COLOR_NAMED_MAGENTA   5
#define GHOSTTY_COLOR_NAMED_CYAN   6
#define GHOSTTY_COLOR_NAMED_WHITE   7
#define GHOSTTY_COLOR_NAMED_BRIGHT_BLACK   8
#define GHOSTTY_COLOR_NAMED_BRIGHT_RED   9
#define GHOSTTY_COLOR_NAMED_BRIGHT_GREEN   10
#define GHOSTTY_COLOR_NAMED_BRIGHT_YELLOW   11
#define GHOSTTY_COLOR_NAMED_BRIGHT_BLUE   12
#define GHOSTTY_COLOR_NAMED_BRIGHT_MAGENTA   13
#define GHOSTTY_COLOR_NAMED_BRIGHT_CYAN   14
#define GHOSTTY_COLOR_NAMED_BRIGHT_WHITE   15

Typedefs

typedef uint8_t GhosttyColorPaletteIndex

Functions

void ghostty_color_rgb_get (GhosttyColorRgb color, uint8_t *r, uint8_t *g, uint8_t *b)

Detailed Description

Color types and utilities.

Definition in file color.h.