Additional help that I need, is when the Customer logo has a poor color contrast with white background we barely can read the title that uses their branded color... I wanted to create a rule to fallback to our brand color but it doesn't seem to work with color contrast.
Can you provide a solution for that?
here's the rule I was trying to work with
Check out this image of a company's logo and identify its primary color's hexcode. Return only the hexcode - nothing more, nothing less.
In case the color seems in the realm of white / gray / off-white or anything similar or if it's too close to white or black, then return this #FF7416 instead. Check if the color contrast ratio is 4.5:1 or above, 1 being white, if not use this #FF7416 instead.