Sista v3.0.0-alpha.1
Sista is a C++ lightweight OS-agnostic library for terminal animations and videogames
Loading...
Searching...
No Matches
Public Attributes | List of all members
sista_RGBColor Struct Reference

Represents an RGB color with red, green, and blue components. More...

#include <api.h>

Collaboration diagram for sista_RGBColor:
Collaboration graph

Public Attributes

unsigned char red
 
unsigned char green
 
unsigned char blue
 

Detailed Description

Represents an RGB color with red, green, and blue components.

This struct is used to define colors in terms of their red, green, and blue components, each ranging from 0 to 255. It can be used to set custom colors for terminal text and backgrounds using ANSI escape codes.

See also
sista_setForegroundColor
sista_setBackgroundColor
sista::RGBColor

Member Data Documentation

◆ blue

unsigned char sista_RGBColor::blue

Green component (0-255)

◆ green

unsigned char sista_RGBColor::green

Red component (0-255)

◆ red

unsigned char sista_RGBColor::red

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