2 Replies Latest reply on Aug 16, 2010 10:12 PM by Yuliaart

    RGB values of Rectangle InDesign CS4 js

    Yuliaart Level 1

      Hi,

      I need to return RGB values of a Rectangle, but the fillColor gives me swatch ID only. How I can converted to RGB values.

       

       

           var myRGB = myFrame.fillColor;
           myRed = myRGB.id;

       

      Thank you for your help.

      Yulia