#include <piave_base.hh>
Public Methods | |
Color (const std::string &c) | |
construct color from a string in format #123456 or #123456FF where 12, 34, and 56 are the color values in either RGB or YUV space. | |
std::string | toString3 () const |
serialize a Color to a ostream is used when writing properties to XML nodes |
|
construct color from a string in format #123456 or #123456FF where 12, 34, and 56 are the color values in either RGB or YUV space. A fourth value may define the alpha channel.
|