I don't know if this is the right list but how do you change the Value (HSV) of a color in script-fu.

I am playing with the sphere script. And I would like to change the lighting intensity.


Example:
Color (255 0 0)
I want a new color as if the only the value had been changed to like 50, so then the new color would be (128 0 0). Thanks in advance.
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

Reply via email to