code for finding a coloured cross