color operations impl