git clone https://github.com/dmilos/color.git c:\my-work-folder\my-git-folder\colorgit clone https://github.com/dmilos/color.git /home/my-user-name/my-work-folder/my-git-folder/colorsrc folder in some for your suitable place.src in your path.src in someplace that is already in your path then skip this step.model. color.hpp situated in src/color directory.
#include <iostream>
#include <iomanip>
#include "color/color.hpp"
int main( int argc, char *argv[] )
{
color::rgb<double> r;
r = ::color::constant::lavender_type{};
std::cout << "Red: " << r[0] << ", Green: " << r[1] << ", Blue: " << r[2] << std::endl;
return EXIT_SUCCESS;
}
example.make_all.sh will compile all examples by using g++.