| Public Member Functions | |
| TColorNumber (Int_t color) | |
| TColorNumber (std::array< Float_t, 3 > rgb) | |
| Instantiate a color from a tuple of RGB values between 0.0 and 1.0. | |
| TColorNumber (std::string const &color) | |
| The colorstring argument argument will be evaluated to get the actual ROOT color number, likekRed. | |
| Int_t | number () const | 
| Private Attributes | |
| Int_t | fNumber | 
| Color number identifier. | |
#include <TColor.h>
| TColorNumber::TColorNumber | ( | std::string const & | color | ) | 
The color string argument argument will be evaluated to get the actual ROOT color number, like kRed. 
Here is how the string is parsed:
kRed): ~~~ {.cxx} hist.SetLineColor("r") ~~~In case no corresponding color is found, a std::invalid_argument exception is thrown. 
Definition at line 3695 of file TColor.cxx.
| TColorNumber::TColorNumber | ( | std::array< Float_t, 3 > | rgb | ) | 
Instantiate a color from a tuple of RGB values between 0.0 and 1.0.
Definition at line 3717 of file TColor.cxx.
| 
 | private |