April 23, 2021TechnologyEver wondered how to generate contrasting colors in your Rails app? It's easy using the YIQ calculation and we can test it easily with helper tests.