define type color and point