Uploaded December 2020 | Updated November 2026, 12 hours ago
/// About:
In this video, I will show you the latest After Effects tool from Ukramedia called Smart Anchor.
/// Links from the Video:
Ukrameida Online Community: ukramedia.com/community
Email: sergei@ukramedia.com
/// Let's Connect:
Facebook: facebook.com/ukramedia
Sergei's Facebook Page: https://www.facebook.com/sergeiprokhn...
Twitter: twitter.com/ukramedia
Instagram: instagram.com/ukramedia
Pinterest: pinterest.com/ukramedia
Linkedin: https://www.linkedin.com/company/ukra...
YouTube: youtube.com/c/ukramedia
Ukramedia Online Community: ukramedia.com/community
/// Mailing Address:
P.O. Box 621
Huntersville, NC 28070
#AfterEffects #AfterEffectsScripts #MotionGraphics
/// About:
In this video, I will show you the latest After Effects tool from Ukramedia called Smart Anchor.
/// Links from the Video:
Ukrameida Online Community: ukramedia.com/community
Email: sergei@ukramedia.com
/// Let's Connect:
Facebook: facebook.com/ukramedia
Sergei's Facebook Page: https://www.facebook.com/sergeiprokhn...
Twitter: twitter.com/ukramedia
Instagram: instagram.com/ukramedia
Pinterest: pinterest.com/ukramedia
Linkedin: https://www.linkedin.com/company/ukra...
YouTube: youtube.com/c/ukramedia
Ukramedia Online Community: ukramedia.com/community
/// Mailing Address:
P.O. Box 621
Huntersville, NC 28070
#AfterEffects #AfterEffectsScripts #MotionGraphics







![Automatic Text Color Adjustment in After Effects
In this After Effects tutorial, I’ll show you how to automatically switch text color between black and white based on the brightness of the background color—so your titles are ALWAYS readable (no more white text on yellow, etc.).
You’ll learn how to:
- Use an After Effects expression to detect background brightness
- Set a brightness threshold (0–1) to decide dark vs light text
- Build a “smart” auto-contrast text setup for motion graphics, lower thirds, and sports packages
I originally ran into this issue while rigging sports graphics (team colors change constantly), and this solution fixes it instantly.
Chapters
0:00 The problem (text becomes unreadable)
0:25 The solution (auto-contrast expression)
2:25 After Effects setup
3:00 The expression breakdown
4:45 Testing with different colors/teams
ADOBE STOCK:
https://stock.adobe.com/contributor/207251555/UKRAMEDIA.COM
BRIGHTNESS FORMULA:
Math.sqrt(0.299 * inputColor[0]**2 + 0.587 * inputColor[1]**2 + 0.114 * inputColor[2]**2)
#mogrt #aftereffects #motiongraphics Automatic Text Color Adjustment in After Effects](https://i.ytimg.com/vi/LlbM0f17CkE/mqdefault.jpg)


