FabGL
ESP32 Display Controller and Graphics Library
RGB222 Struct Reference

Represents a 6 bit RGB color. More...

#include <displaycontroller.h>

Public Attributes

uint8_t B: 2
 
uint8_t G: 2
 
uint8_t R: 2
 

Detailed Description

Represents a 6 bit RGB color.

When 1 bit per channel (8 colors) is used then the maximum value (white) is 1 (R = 1, G = 1, B = 1). When 2 bits per channel (64 colors) are used then the maximum value (white) is 3 (R = 3, G = 3, B = 3).

Definition at line 275 of file displaycontroller.h.


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