Can I create gradient color face3 with Canvas render?

Currently I have a mesh with triangle faces (face3), I want to make gradient color faces for them with canvas render. Is there any idea? Thanks a lot!