Skip to main content
Inspiring
September 29, 2021
Question

script to change foreground and background color

  • September 29, 2021
  • 1 reply
  • 487 views

I want to change or swap / change my foreground and background colors. I'm guess I need to write a script to do this. I suspect CSS and Javascript is required. Can anyone direct me to a resource for code? In the meantine, it would be cool if Adobe created a tool for this. Writing code seems counter intuituive to creating visual art. 

This topic has been closed for replies.

1 reply

c.pfaffenbichler
Community Expert
Community Expert
September 29, 2021

Swapping Fore- and Background Color can be done by hitting X. 

Setting the Colors can be recorded in an Action and the Action can be assigned a shortcut.