HSV_to_RGB_CHOP

This component converts hsv input channels into rgb output channels.
It’s also an example of how to use the expression CHOP.

Note: input channels must be in h, s, v order as it uses the channel number, not the channel name.

hsv2rgb.PNG

I’ll make a reverse one soon unless someone else gets inspired.

Rod.
hsv_to_rgb_CHOP.tox (974 Bytes)

1 Like

after a look through the forums again, of course Markus already explained how to do this

viewtopic.php?f=17&t=2268&p=7758&hilit=+rgb+to+hsv+#p7758

but here’s the hsv_to_rgb converter anyway.

RGB_to_HSV.tox (1.04 KB)

1 Like

Thank you very much!
Works like a charm.

Marvin.

Haha! You’re welcome. :slight_smile:

Eleven years later, I have still forgotten to make a reverse version.

Have a great new year!

and …

Remember, when deciding which neck-tie to wear with that shirt:
if shirt-colour = h then neck-tie-colour = h + 180
… just remember to use s values responsibly (depending on your complexion) and don’t neglect v ! :v::gift_heart:

1 Like