libghostty-vt 0.0.0
Loading...
Searching...
No Matches
GhosttyColorRgb Struct Reference

#include <ghostty/vt/color.h>

Data Fields

uint8_t r
uint8_t g
uint8_t b

Detailed Description

RGB color value.

Examples
c-vt-colors/src/main.c, and c-vt-render/src/main.c.

Definition at line 48 of file color.h.

Field Documentation

◆ b

uint8_t b

Blue component (0-255)

Examples
c-vt-colors/src/main.c, c-vt-render/src/main.c, and c-vt-sgr/src/main.c.

Definition at line 51 of file color.h.

◆ g

uint8_t g

Green component (0-255)

Examples
c-vt-colors/src/main.c, c-vt-render/src/main.c, and c-vt-sgr/src/main.c.

Definition at line 50 of file color.h.

◆ r

uint8_t r

Red component (0-255)

Examples
c-vt-colors/src/main.c, c-vt-render/src/main.c, and c-vt-sgr/src/main.c.

Definition at line 49 of file color.h.


The documentation for this struct was generated from the following file: