refactor of pixel color stuff