Avoid color space conversions (#14108).

Change-Id: Id80d6957b845afbf394ab5bbcb51832d711e77a8