ColorGenerator now uses the hue from options, if provided

Could be useful to store the state of the generator, let say in a database for later reuse.