Running on root 5.14 or 5.16 the following:
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?
Thank you very much.