Filling colour by block

Hello everybody

I’m working with several arrow-colours in a draftsight drawing. The arrow is filled and is building a component named « arrow std ». Is it possible to assign the fillingcolour by block ?

 

The aim is that the arrows becomes green when they are inserted in green blocks and red when they are inserted in red blocks.