How might I convert a color to the rgba format used here?

untitled script pic (10)

I see I need to convert color to this rgba text format. I’m not sure how that would be done.

You can do this to convert a color to that string representation

untitled script pic

So to do what you’re trying to do, you’d do this

untitled script pic - 2025-11-17T161211.702

However, I’d argue that this is probably more of a bug, since there’s no reason for snap to give colors as strings anymore.

sad

I don’t want to ping a developer, but this really should kinda be a bug report.

i know

yes?

I have created a bug report for this bug: SPLIT BY BLOCKS still uses strings for color blocks

Why are you posting a link to a PenguinMod extension?

sorry, i guess my brother found my account and copypasted something here. i apologize.