changeColor(value) {
        if (validColor(value)) {
            this.color = value;
            const temp = colorToRGBA(this.color);
            this.actualColor = `rgba(${temp[0]},${temp[1]},${temp[2]},${0.8})`;
        }
    }
@memberof DigitalLed
function to change color of the led