add color-magnitude