Pineapple flower bud

The color of the Pineapple flower bud is purple but most of us didn't know the pineapple flower.The edible part is the bed of the flowers .