It appear chrome has a bug with <input type="color">
This code works : (with a file input)
var input = document.createElement('input');
input.type = 'file';
input.click();
But this code not : (with a color input)
var input = document.createElement('input');
input.type = 'color';
input.click();
Why ? :-(
To test the code, you can open the console browser and paste the code. Thanks for your help.