How do I set an alpha channel for colors? Bug?

Newest Scriptable Beta/iOS14, trying to set the alpha channel.
Bug or did I misunderstand the documentation?
0 and 1 works
comma seperator (0,4) results in alpha = 0
dot seperator shows the error below

That looks like a bug. I’d recommend filing a report with the developer. In the meantime, it looks like you can provide an 8 digit hex code and it will use the last 2 digits as the alpha.

1 Like

I just stumbled across this problem. It does support specific alpha values, such as 0.0, 0.5, 0.75, and 1.0.

Perhaps it depends on whether the value it can be converted exactly into an integer 0-255?

Thanks for reporting this! It’s a bug and it will be fixed in version 1.5.1. As @dustinknopoff points out, the current workaround is to use hex code that’s are eight digits with the two last digits indicating the alpha.

In case anyone is curious, this was a bug in Scriptable’s own type checker.

1 Like