which command were you talking about?
sf::Sprite::setColor
By default it's set to sf::Color(255, 255, 255, 255)
(opaque white).
You could set it to sf::Color(i, i, i, 255)
and control i
with your slidebar.
If this doesn't give you the result you want, I guess you can always try the
'brute force' approach, as ravenous suggests, if you haven't tried it yet.