Hello,
I see from the PitStop forum you solved this with colour names as ABC says PitStop does not have the layer functions you need at present.
This is the JavaScript you can use in an Action Wizard in Acrobat.
Add (More Tools) Execute JavaScript.
It's not ideal but it might help someone...