Example: GetLayerRGBColor
To find out the foreground color of layer 1030 of the current page:
[GetLayerRGBColor(0, 1030)]