drawing pixels by color