at the moment I have this code to generate a random color:
let color = Math.floor(Math.random() * 16777216).toString(16);
color = '#000000'.slice(0, -color.length) + color;
department.color = color;
but what I want is to genertae a random "tint" color , what should I add/change to make it work...?