colored sphere based on p