WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
rgb Struct Reference

#include <fmt/color.h>

Public Member Functions

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

Public Attributes

uint8_t r
 
uint8_t g
 
uint8_t b
 

Constructor & Destructor Documentation

◆ rgb() [1/4]

FMT_CONSTEXPR rgb::rgb ( )
inline

◆ rgb() [2/4]

FMT_CONSTEXPR rgb::rgb ( uint8_t r_,
uint8_t g_,
uint8_t b_ )
inline

◆ rgb() [3/4]

FMT_CONSTEXPR rgb::rgb ( uint32_t hex)
inline

◆ rgb() [4/4]

FMT_CONSTEXPR rgb::rgb ( color hex)
inline

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: