extract color/vertex method