Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using css to emboss text with this:

text-shadow: black 1px 1px 5px;

My site uses different font colors and background colors. I was wondering how I can choose the "best" embossing color based on the color of the font and background color of the text.

share|improve this question
Can you include a visual example of what you have now? – e100 May 5 '11 at 19:41
up vote 3 down vote accepted

If you are trying to replicate blind embossing (no ink) then the text color would match the the background. Give a dark SE shadow and a white NW shadow to give it a raised effect.

Otherwise, the text color can be whatever you want provided it's darker than your dark shadow and lighter than your highlight 'shadow'.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.