Hey Christoph!
There was a very similar question three days ago:
Your problem should be a perfect candidate for a javascript transformation. Looking at your example scale: I’d say it’s important to make sure that the transformation maps 0 to 0 and 255 to 100.
Good luck