Macro - Select surfaces by a colour

Hello,

Is it possible to set a macro for selection a faces/surfaces by the colour? e.g. I select one of surfaces in blue and macro select remaining blue surfaces.

Thanks

Jozef

SolidworksApi macros