diff --git a/js/usercss.js b/js/usercss.js index 1cf53aa2..8f6ab259 100644 --- a/js/usercss.js +++ b/js/usercss.js @@ -66,6 +66,9 @@ var usercss = (function () { } function format({r, g, b, a = 1}) { + if (a === 1) { + return `rgb(${r}, ${g}, ${b})`; + } return `rgba(${r}, ${g}, ${b}, ${a})`; }