def white(self, kelvin):
    """Supports between 2700K and 6500K white
    :type kelvin int:
    """
    whiteness = int(((kelvin - MIN_KELVIN) * 255)/(MAX_KELVIN-MIN_KELVIN))
    whiteness = max(min(whiteness,255),0)
    data = [CODE_COLOUR, self._id, 255 - whiteness, whiteness]
    self._mode = MODE_WHITE
    self._white = kelvin
    self._effect = ''
    self._send(data)