color utils and repackaging