Implement prototype for gradient parser.
Note: html color expression are not correctly parsed.