#include <modm/ui/color/rgb.hpp>
|  | 
| using | TSum = modm::WideType< T > | 
|  | 
|  | 
| constexpr | RgbT (T red, T green, T blue) | 
|  | 
| template<std::unsigned_integral U> | 
| requires std::is_same_v< T, uint16_t > &&constexpr std::is_same_v< U, uint8_t > | RgbT (const RgbT< U > &rgb_other) | 
|  | 
| template<std::unsigned_integral U> | 
| requires std::is_same_v< T, uint8_t > &&constexpr std::is_same_v< U, uint16_t > | RgbT (const RgbT< U > &rgb_other) | 
|  | 
| template<std::unsigned_integral U> | 
| constexpr | RgbT (const HsvT< U > &hsv) | 
|  | 
| template<std::unsigned_integral U> | 
| constexpr | RgbT (const BrightnessT< U > brightness) | 
|  | 
| constexpr | RgbT (const Rgb565 &rgb565) | 
|  | 
| constexpr bool | operator== (const RgbT< T > &other) const = default | 
|  | 
|  | 
| T | red {0} | 
|  | 
| T | green {0} | 
|  | 
| T | blue {0} | 
|  | 
|  | 
| template<std::unsigned_integral U> | 
| IOStream & | operator<< (IOStream &, const RgbT< U > &) | 
|  | 
template<std::unsigned_integral T>
class modm::color::RgbT< T >
Color in HSV Colorspace
- Author
- Martin Rosekeit, Fabian Greif, Niklas Hauser, David Hebbeker, Thomas Sommer 
template<std::unsigned_integral T> 
template<std::unsigned_integral U> 
  
  | 
        
          | requires std::is_same_v<T, uint16_t>&& constexpr std::is_same_v<U, uint8_t> modm::color::RgbT< T >::RgbT | ( | const RgbT< U > & | rgb_other | ) |  |  | inlineconstexpr | 
 
Copy Constructor 8bit->16bit 
 
 
template<std::unsigned_integral T> 
template<std::unsigned_integral U> 
  
  | 
        
          | requires std::is_same_v<T, uint8_t>&& constexpr std::is_same_v<U, uint16_t> modm::color::RgbT< T >::RgbT | ( | const RgbT< U > & | rgb_other | ) |  |  | inlineconstexpr | 
 
Copy Constructor 16bit->8bit 
 
 
template<std::unsigned_integral T> 
template<std::unsigned_integral U> 
  
  | 
        
          | constexpr modm::color::RgbT< T >::RgbT | ( | const HsvT< U > & | hsv | ) |  |  | constexpr | 
 
Convertion Constructor for HSV Color
- Parameters
- 
  
  
 
 
template<std::unsigned_integral T> 
template<std::unsigned_integral U> 
  
  | 
        
          | constexpr modm::color::RgbT< T >::RgbT | ( | const BrightnessT< U > | brightness | ) |  |  | inlineconstexpr | 
 
Convertion Constructor for Brightness
- Parameters
- 
  
    | brightness | Brightness 'Color'-object |  
 
 
 
template<std::unsigned_integral T> 
  
  | 
        
          | constexpr modm::color::RgbT< T >::RgbT | ( | const Rgb565 & | rgb565 | ) |  |  | inlineconstexpr | 
 
Convertion Constructor for RGB565 Color
- Parameters
- 
  
  
 
 
The documentation for this class was generated from the following files:
- brightness.hpp
- color/rgb.hpp