If a layer is marked one particular color then do something...into jsx?
Im working on a solution for our interactive fellows and art guys to better export photoshop layers' position and size information into code.
I had done everything right expect in canvas for example we need to pin some element's axis center point ( or some word starts with letter o I cant recall ) to some particular angle like left-bottom / top-bottom.
My goal is to let art guy decide which layer's axis center point should be where , without telling our code guy. And I think to mark every layer's color is one easy way to do that : If I want this layer's axis center point to be "left-bottom" in future , I just mark it red; If top-bottom, mark purple; and so on.

Now comes the part Im having trouble carry on, is there a way to code the export jsx that can get the "mark color" in photosohp ?
Thanks in advance.
