Learn Before
Concept

Calculating color of text using opacity

Instead of utilizing text opacity you can calculate the color of text to layer on top of colored backgrounds with the following steps:

  • Place the color black at reduced opacity in front of your desired colored background
  • Identify the hex value of the resulting darkened color
  • Use that hex value of that color for your text

0

1

Updated 2021-03-30

Tags

Design Science