SyntaxFix
Write A Post
Hire A Developer
Questions
ES6 (template literal) helper functions:
function rgba(r, g, b, a=1){ return `rgba(${r}, ${g}, ${b}, ${a})` } function rgb(r, g, b){ return `rgb(${r}, ${g}, ${b})` }