How to efficiently change a dimension of a color

I want to change a singular dimension of a color and return it.
This was the first thought I had, and I thought it would actually work:

image editor script pic

Unfortunately, it doesn’t. So, how do I do this without using variables, creating another color, or creating more custom blocks than the one this is in?

you cant because by getting the hsbt of a color your making a deep copy so there is no way without making a custom block and idk how to upload images so yeah

Nevermind, I solved it.

And what is your solution?

I used variables anyway. I assumed it would be impossible - or at the very least, extremely difficult

change hue