WPILibC++ 2027.0.0-alpha-2
Loading...
Searching...
No Matches
rgb Struct Reference

#include <fmt/color.h>

Public Member Functions

constexpr rgb ()
 
constexpr rgb (uint8_t r_, uint8_t g_, uint8_t b_)
 
constexpr rgb (uint32_t hex)
 
constexpr rgb (color hex)
 

Public Attributes

uint8_t r
 
uint8_t g
 
uint8_t b
 

Constructor & Destructor Documentation

◆ rgb() [1/4]

rgb::rgb ( )
inlineconstexpr

◆ rgb() [2/4]

rgb::rgb ( uint8_t r_,
uint8_t g_,
uint8_t b_ )
inlineconstexpr

◆ rgb() [3/4]

rgb::rgb ( uint32_t hex)
inlineconstexpr

◆ rgb() [4/4]

rgb::rgb ( color hex)
inlineconstexpr

Member Data Documentation

◆ b

uint8_t rgb::b

◆ g

uint8_t rgb::g

◆ r

uint8_t rgb::r

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