aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/formats.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/formats.ts b/src/formats.ts
index 7638399..ab118ab 100644
--- a/src/formats.ts
+++ b/src/formats.ts
@@ -38,8 +38,7 @@ export const defaultColorMatches = (
16 +
76
: 225 + Math.floor(coverage / (style.stage2 / 11));
- const result = gradient.toString(16);
- return (result.length === 1 ? "0" : "") + result + "1";
+ return gradient.toString(16) + "1";
};
const FormatsObj: FormatObj = {