Thanks for the reply,
. Image may be NSFW.
Clik here to view.
Here is a swatch name 'RGB Green' with the color value rgb(0, 255, 0). Now what I want here is that, I have rgb() values and I want to get the name of the swatches that the document have corresponding to those rgb values.
Does it make sense?
Actually I have a selected object and I am getting its fill color and from that color value I want to get the swatch name if any.
Thanks..