Float_t R, G, B
TColor::HLS2RGB(90, 1., 1., R, G, B)
std::cout << "R=" << R << " G=" << G << " B=" << B << std::endl;
I get the output “R=1 G=1 B=1”, that is to say: white.
Using a graphics program (GIMP), colors with full saturation and luminosity are not white but very bright and intense colors (in the example, a 50% red, 100% green, no blue).
I assume you are using some different definitions (maybe luminosity), but I can’t guess which.
Could you explain?
The closest light is to 1 the closest the color is white. When equal to 1 it is fully white… For me that makes sense and it is how the algorithm is implemented.
May be try TColor::HSV2RGB