Turn color to rgb values

Hello, how i can split color to red, green and blue value

1 Like

Hey @smailovtimofey4ukx

You should be able to use the split at text block, and use a comma as your delimiter.

Does something like that work for you?

Iam using get color at position in canavas to get color.

And is that returning the colour in RGB() format @smailovtimofey4ukx?

Can you show your blocks?

I used this to convert

Setup necessary variables
image

Main block

Supporting functions

image

Result:
image

This is a first attempt and you can enhance it a lot but it works.

4 Likes

Yes, that works
Thanks

1 Like

@smailovtimofey4ukx
Please see my revised blocks for the same. I know you have already accepted the previous solution but this is an enhanced version.

1 Like