Implement function adjust-color (#12766).

Change-Id: Ic8154b91df88f42c7d91e84e08433ecde7960751