China = 0.1
Jamaica = 0.3
Thailand = 2
Albania = 3
South Korea = 4
Cuba = 6
Japan = 11
Russia = 14
Brazil = 18
Finland = 532
With relative color syntax, you can use calc to adjust the text color depending if the background is above or below 50% lightness in the LCH color space.
With relative color syntax, you can use calc to adjust the text color depending if the background is above or below 50% lightness in the LCH color space.