I want to set the CSS property of a class using rgb(redComp, greenComp, blueComp) format. I want to get these components from Vuejs component code.
.progress {
color: rgb(256,0,0);
border-radius: 0px;
}
I want the CSS to be something like :-
.progress {
color: rgb(redComp, greenComp, blueComp);
border-radius: 0px;
}
Where redComp, greenComp and blueComp will be variables in the VueJS Component. How can I implement this?