Hi everyone!
When I run this simple code:
float hue, sat, bri;
ofColor test = ofColor::fromHsb(0, 10, 50);
test.getHsb(hue, sat, bri);
cout << "Before: " << hue << " " << sat << " " << bri << endl;
test.fromHsb(240, 10, 50);
test.getHsb(hue, sat, bri);
cout << hue << " " << sat << " " << bri << endl;
I get this printed values:
Before: 0 10.2 50
After: 0 10.2 50
Does anyone get the same? It’s quite annoying because I’m working with color harmonies (triad/analogous) and I get quite weird results. Sometimes saturation and brightness go crazy high.
Thanks!