QColor constructor takes color composant in the [0;255] range.
Attach a file by drag & drop or click to upload