I am given a text that is placed on top of a background of a given color. I need a way to determine the monochrome color the text should have to ensure the text's maximum visibility.

My intuition: take the background color, invert it and make it monochrome - this is the color the text should have. Is this correct? This does seem to work, but I am not sure if the method is infallible. Perhaps this method does work, but there is a simpler way to do this?

  • @Ryan, so, I need use the solution from said question and turn the output color into its monochrome counterpart? – user132181 Dec 30 '14 at 14:31
  • If I understand correctly I would use that online contrast calculator to check the contrast of your monochrome color compared to the original version of the color. Adjust the saturation until its a good contrast ratio. – Ryan Dec 30 '14 at 14:37

Browse other questions tagged or ask your own question.