Allow programmatic control of Callout color

Related to: Is there a way to programmatically control the color of a callout?

The different colors of a Callout can be useful for emphasising different states such as success, warning, or error. However, changing the Callout color is currently a manual task.

I think it would be useful if a Callout’s color can be based off a formula or something similar.

That’s already possible with the wonderful format() formula and some predefined templates. You can do almost any formatting programatically in this way.

Take a look at my example and let me know if you have any questions.

Awesome! Thanks. Tried it out and it works well, though it does require a bit of setup, especially if you have different combos of icons and colors.

One issue I’ve found, which may require a separate discussion, is that my progress bars aren’t displaying correctly in the Callouts.

Here’s what it looks like in my Canvas:
Screenshot 2025-06-10 at 11.29.20 AM
Vs what it looks like in my new Callout:
Screenshot 2025-06-10 at 11.28.43 AM

I did check and other non-text items like images and buttons still show up correctly, so not sure what’s going on.

Let me know if you’ve encountered this before, otherwise thanks again for your solution.