function kelvinToMired(kelvin) {
  return 1e6 / kelvin;
}
@description Convert kelvin to mired.
@param {number} kelvin - Color temperature in kelvin.
@returns {number} Returns color in mired.
@example kelvinToMired(5000);