const tinyColor: any = require("tinycolor2");

export function lighten(color: string, percent: number) {
    return tinyColor(color).lighten(percent).toHexString();
}

export function darken(color: string, percent: number) {
    return tinyColor(color).darken(percent).toHexString();
}

export function alpha(color: string, percent: number) {
    return tinyColor(color).setAlpha(percent).toRgbString();
}

export function failurize(color: string) {
    return tinyColor(color).spin(140).saturate(15).toHexString();
}

export function toDOMString(pixels: number) {
    return `${pixels}px`;
}

const tinyColor: any = require("tinycolor2");

export function lighten(color: string, percent: number) {
    return tinyColor(color).lighten(percent).toHexString();
}

export function darken(color: string, percent: number) {
    return tinyColor(color).darken(percent).toHexString();
}

export function alpha(color: string, percent: number) {
    return tinyColor(color).setAlpha(percent).toRgbString();
}

export function failurize(color: string) {
    return tinyColor(color).spin(140).saturate(20).toHexString();
}

export function toDOMString(pixels: number) {
    return `${pixels}px`;
}

--- 
+++ 
@@ -13,7 +13,7 @@
 }
 
 export function failurize(color: string) {
-    return tinyColor(color).spin(140).saturate(20).toHexString();
+    return tinyColor(color).spin(140).saturate(15).toHexString();
 }
 
 export function toDOMString(pixels: number) {
Make failurized color less bright.
