Original: The bird's colorful feathers (green body, yellow head, and red around the bill) were in demand as decorations in ladies' hats.
Simplified: The colorful feathers (green body, yellow head, and red around the bill) were in demand as decorations in ladies' hats, and the birds were kept as pets.