Stores Colors in the RGB format. More...
#include <Color.hpp>
Public Member Functions | |
| RGB (int r_, int g_, int b_) | |
| Creates an RGB object with the specified values.   | |
| RGB (const Color &c) | |
| Creates an RGB object from a Color object.   | |
| operator Color () const | |
| Converts to a Color object.   | |
Public Attributes | |
| int | r | 
| Red color component.   | |
| int | g | 
| Green color component.   | |
| int | b | 
| Blue color component.   | |
Stores Colors in the RGB format.
| a5::RGB::RGB | ( | int | r_, | |
| int | g_, | |||
| int | b_ | |||
| ) | 
Creates an RGB object with the specified values.
| int a5::RGB::r | 
Red color component.
| int a5::RGB::g | 
Green color component.
| int a5::RGB::b | 
Blue color component.
 1.7.1