Generate colour based on a number

I’d like to colour some elements based on numbers (like a search:count), like a gradient conditional formatting in google sheet.

Any hint on the best way to achieve this? If possible dynamically, I dont want to generate and store colour value in the database for each number.

if you don’t want to store a colour/number count mapping in the database, how would bubble know what colour to display in a given element for a given count?

elements can be coloured dynamically in bubble if that helps.

I would generate a dynamic colour based on existing number, like a formula that output a RGB colour…

This topic was automatically closed after 70 days. New replies are no longer allowed.