just a little observation:
To get the rgb components I needed to convert the results to int:
cout << " color r: " << (int)colorRama.r << endl;
cout << " color g: " << (int)colorRama.g << endl;
cout << " color b: " << (int)colorRama.b << endl;
just a little observation:
To get the rgb components I needed to convert the results to int:
cout << " color r: " << (int)colorRama.r << endl;
cout << " color g: " << (int)colorRama.g << endl;
cout << " color b: " << (int)colorRama.b << endl;