Refactor Compose post colors with helper methods