When studying the CSS framework Bluma, I found that it use a very smart way to determine the text color based on the bg color, utiliizing the color luminance to decide to use black text or white text, which is interesting and I found some interesting facts to note it down.