Closed
Description
Backend has at least 2 implementations of a contrast color function, frontend has one.
This post has some potentially useful insights for the calculation. We should ensure the functions work the same in backend and frontend, and ideally also check if there are any existing issues where the function outputs suboptimal colors.