---
title: TinyColor
summary: Class in @sascom/commonjs.
order: 10
languages: [javascript]
sdk-package: JavaScript · @sascom/commonjs
---

# TinyColor

[[page:reference/javascript/api|API catalogue]] · `@sascom/commonjs` · Class

````typescript sdk=js sdk-namespace="@sascom/commonjs"
class TinyColor
````



## Members

| Member | Kind | Description |
|---|---|---|
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-constructor-6d92709fadfb|constructor]] | Method | Create a tinycolor instance of the color named. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-analogous-cb9740170b3c|analogous]] | Method | Gets an analogous color scheme based off of the current color. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-brighten-e3e79c74ae95|brighten]] | Method | Brighten the color a given amount. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-clone-95fe6eb963f4|clone]] | Method | Gets a new instance with the current color |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-complement-5fd91f4a5109|complement]] | Method | Gets the complement of the current color |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-darken-5ba949fe23fa|darken]] | Method | Darken the color a given amount. Providing 100 will always return black. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-desaturate-b74db6b45a01|desaturate]] | Method | Desaturate the color a given amount. Providing 100 will is the same as calling greyscale. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-getalpha-b91cae810894|getAlpha]] | Method | Returns the alpha value of the color |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-getbrightness-9420d9a9b0f7|getBrightness]] | Method | Returns the perceived brightness of the color, from 0-255. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-getformat-1401d9e2ce34|getFormat]] | Method | Returns the format used to create the tinycolor instance. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-getluminance-bca54563ce27|getLuminance]] | Method | Returns the perceived luminance of a color, from 0-1. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-getoriginalinput-8e0507cc7141|getOriginalInput]] | Method | Returns the input passed into the constructer used to create the tinycolor instance. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-greyscale-7b3e5609cb61|greyscale]] | Method | Completely desaturates a color into greyscale. Same as calling desaturate(100). |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-isdark-34ac9b3daba0|isDark]] | Method | Return an indication whether the color's perceived brightness is dark. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-islight-572aa5f21cd5|isLight]] | Method | Return an indication whether the color's perceived brightness is light. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-isvalid-49e8966a91c0|isValid]] | Method | Return an indication whether the color was successfully parsed. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-lighten-d554ddb0b753|lighten]] | Method | Lighten the color a given amount. Providing 100 will always return white. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-monochromatic-25dc235e10e9|monochromatic]] | Method | Gets a monochromatic color scheme based off of the current color. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-saturate-840575f17fb4|saturate]] | Method | Saturate the color a given amount. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-setalpha-44c34bd3b0a2|setAlpha]] | Method | Sets the alpha value on the current color. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-spin-4f4378997354|spin]] | Method | Spin the hue a given amount. Calling with 0, 360, or -360 will do nothing. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-splitcomplement-51f5f78c1bce|splitcomplement]] | Method | Gets a split complement color scheme based off of the current color. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tetrad-0ff13115daa6|tetrad]] | Method | Gets a tetrad based off of the current color. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tofilter-abd9644d3948|toFilter]] | Method | Returns the color represented as a Microsoft filter for use in old versions of IE. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tohex-b7a2484ea7de|toHex]] | Method | Returns the hex value of the color. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tohex8-424fe0ac22c2|toHex8]] | Method | Returns the hex 8 value of the color. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tohex8string-ffb1654dc1f7|toHex8String]] | Method | Returns the hex 8 value of the color -with a # appened. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tohexstring-98efd38d6599|toHexString]] | Method | Returns the hex value of the color -with a # appened. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tohsl-ac659ecc31ac|toHsl]] | Method | Returns the object as a HSLA object. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tohslstring-ca081d033031|toHslString]] | Method | Returns the hsla values interpolated into a string with the following format: "hsla(xxx, xxx, xxx, xx)". |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tohsv-723836ad5adc|toHsv]] | Method | Returns the object as a HSVA object. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tohsvstring-166b87cc9cdf|toHsvString]] | Method | Returns the hsva values interpolated into a string with the following format: "hsva(xxx, xxx, xxx, xx)". |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-toname-75a8483e412c|toName]] | Method | The 'real' name of the color -if there is one. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-topercentagergb-b279070bb976|toPercentageRgb]] | Method | Returns the object as a RGBA object. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-topercentagergbstring-5e38a8107669|toPercentageRgbString]] | Method | Returns the RGBA relative values interpolated into a string with the following format: "RGBA(xxx, xxx, xxx, xx)". |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-torgb-eb843e12c571|toRgb]] | Method | Returns the object as a RGBA object. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-torgba-d38b3100fb59|toRgba]] | Method | Returns the color as [r, g, b, a], every component in 0..1. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-torgbstring-86f1f0a1de33|toRgbString]] | Method | Returns the RGBA values interpolated into a string with the following format: "RGBA(xxx, xxx, xxx, xx)". |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-tostring-fbd0316198bb|toString]] | Method | String representation of the color. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-triad-2669f628979e|triad]] | Method | Gets a triad based off of the current color. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-equals-6ca223f94f05|equals]] | Method | Compares two colors. Each colors can be any color inputs. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-fromfloatobject-e706a97238a7|fromFloatObject]] | Method | Create a tinycolor from components in 0..1. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-fromratio-8df5a01757c2|fromRatio]] | Method | Create a tinycolor instance based off the relative values. Works with any color formats |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-isreadable-5376834946f3|isReadable]] | Method | Ensure that foreground and background color combinations meet WCAG2 guidelines. |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-mostreadable-75fc2336e81b|mostReadable]] | Method | Given a base color and a list of possible foreground or background colors for that base, returns the most readable color. Optionally returns Black or White i… |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-random-a62def42d8d2|random]] | Method | Returns a random color |
| [[page:reference/javascript/sascom-commonjs/tinycolor-b4df74a8#member-readability-83d488aa5156|readability]] | Method | Compares the two colors and returns the constrast between two colors as a number. |

## `constructor` {#member-constructor-6d92709fadfb}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
constructor(color?: ColorInput, opts?: ConstructorOptions)
````

Create a tinycolor instance of the color named.

### Parameters

| Name | Type | Description |
|---|---|---|
| `color` | [[page:reference/javascript/sascom-commonjs/tinycolor-colorinput-178aa288|tinycolor.ColorInput]] | the color as one of the valid color input format. |
| `opts` | [[page:reference/javascript/sascom-commonjs/tinycolor-constructoroptions-3355a8a0|tinycolor.ConstructorOptions]] |  |

## `analogous` {#member-analogous-cb9740170b3c}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
analogous(results?: number, slices?: number): (TinyColor)[]
````

Gets an analogous color scheme based off of the current color.

### Parameters

| Name | Type | Description |
|---|---|---|
| `results` | `number` | The amount of results to return.  Default value: 6. |
| `slices` | `number` | The amount to slice the input color by.  Default value: 30. |

## `brighten` {#member-brighten-e3e79c74ae95}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
brighten(amount?: number): TinyColor
````

Brighten the color a given amount.

### Parameters

| Name | Type | Description |
|---|---|---|
| `amount` | `number` | The amount to brighten by. The valid range is 0 to 100.  Default value: 10. |

## `clone` {#member-clone-95fe6eb963f4}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
clone(): TinyColor
````

Gets a new instance with the current color

## `complement` {#member-complement-5fd91f4a5109}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
complement(): TinyColor
````

Gets the complement of the current color

## `darken` {#member-darken-5ba949fe23fa}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
darken(amount?: number): TinyColor
````

Darken the color a given amount.
 Providing 100 will always return black.

### Parameters

| Name | Type | Description |
|---|---|---|
| `amount` | `number` | The amount to darken by. The valid range is 0 to 100.  Default value: 10. |

## `desaturate` {#member-desaturate-b74db6b45a01}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
desaturate(amount?: number): TinyColor
````

Desaturate the color a given amount.
 Providing 100 will is the same as calling greyscale.

### Parameters

| Name | Type | Description |
|---|---|---|
| `amount` | `number` | The amount to desaturate by. The valid range is 0 to 100.  Default value: 10. |

## `getAlpha` {#member-getalpha-b91cae810894}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
getAlpha(): number
````

Returns the alpha value of the color

## `getBrightness` {#member-getbrightness-9420d9a9b0f7}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
getBrightness(): number
````

Returns the perceived brightness of the color, from 0-255.

## `getFormat` {#member-getformat-1401d9e2ce34}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
getFormat(): string
````

Returns the format used to create the tinycolor instance.

## `getLuminance` {#member-getluminance-bca54563ce27}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
getLuminance(): number
````

Returns the perceived luminance of a color, from 0-1.

## `getOriginalInput` {#member-getoriginalinput-8e0507cc7141}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
getOriginalInput(): ColorInput
````

Returns the input passed into the constructer used to create the tinycolor instance.

## `greyscale` {#member-greyscale-7b3e5609cb61}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
greyscale(): TinyColor
````

Completely desaturates a color into greyscale.
Same as calling desaturate(100).

## `isDark` {#member-isdark-34ac9b3daba0}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
isDark(): boolean
````

Return an indication whether the color's perceived brightness is dark.

## `isLight` {#member-islight-572aa5f21cd5}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
isLight(): boolean
````

Return an indication whether the color's perceived brightness is light.

## `isValid` {#member-isvalid-49e8966a91c0}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
isValid(): boolean
````

Return an indication whether the color was successfully parsed.

## `lighten` {#member-lighten-d554ddb0b753}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
lighten(amount?: number): TinyColor
````

Lighten the color a given amount. Providing 100 will always return white.

### Parameters

| Name | Type | Description |
|---|---|---|
| `amount` | `number` | The amount to lighten by. The valid range is 0 to 100.  Default value: 10. |

## `monochromatic` {#member-monochromatic-25dc235e10e9}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
monochromatic(results?: number): (TinyColor)[]
````

Gets a monochromatic color scheme based off of the current color.

### Parameters

| Name | Type | Description |
|---|---|---|
| `results` | `number` | The amount of results to return.  Default value: 6. |

## `saturate` {#member-saturate-840575f17fb4}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
saturate(amount?: number): TinyColor
````

Saturate the color a given amount.

### Parameters

| Name | Type | Description |
|---|---|---|
| `amount` | `number` | The amount to saturate by. The valid range is 0  to 100.  Default value: 10. |

## `setAlpha` {#member-setalpha-44c34bd3b0a2}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
setAlpha(alpha: number): TinyColor
````

Sets the alpha value on the current color.

### Parameters

| Name | Type | Description |
|---|---|---|
| `alpha` | `number` | The new alpha value. The accepted range is 0-1. |

## `spin` {#member-spin-4f4378997354}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
spin(amount: number): TinyColor
````

Spin the hue a given amount. Calling with 0, 360, or -360 will do nothing.

### Parameters

| Name | Type | Description |
|---|---|---|
| `amount` | `number` | The amount to spin by. The valid range is -360 to 360. |

## `splitcomplement` {#member-splitcomplement-51f5f78c1bce}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
splitcomplement(): [TinyColor, TinyColor, TinyColor]
````

Gets a split complement color scheme based off of the current color.

## `tetrad` {#member-tetrad-0ff13115daa6}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
tetrad(): [TinyColor, TinyColor, TinyColor, TinyColor]
````

Gets a tetrad based off of the current color.

## `toFilter` {#member-tofilter-abd9644d3948}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toFilter(): string
````

Returns the color represented as a Microsoft filter for use in old versions of IE.

## `toHex` {#member-tohex-b7a2484ea7de}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toHex(): string
````

Returns the hex value of the color.

## `toHex8` {#member-tohex8-424fe0ac22c2}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toHex8(): string
````

Returns the hex 8 value of the color.

## `toHex8String` {#member-tohex8string-ffb1654dc1f7}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toHex8String(): string
````

Returns the hex 8  value of the color -with a # appened.

## `toHexString` {#member-tohexstring-98efd38d6599}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toHexString(): string
````

Returns the hex value of the color -with a # appened.

## `toHsl` {#member-tohsl-ac659ecc31ac}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toHsl(): HSLA
````

Returns the object as a HSLA object.

## `toHslString` {#member-tohslstring-ca081d033031}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toHslString(): string
````

Returns the hsla values interpolated into a string with the following format:
"hsla(xxx, xxx, xxx, xx)".

## `toHsv` {#member-tohsv-723836ad5adc}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toHsv(): HSVA
````

Returns the object as a HSVA object.

## `toHsvString` {#member-tohsvstring-166b87cc9cdf}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toHsvString(): string
````

Returns the hsva values interpolated into a string with the following format:
"hsva(xxx, xxx, xxx, xx)".

## `toName` {#member-toname-75a8483e412c}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toName(): string | false
````

The 'real' name of the color -if there is one.

## `toPercentageRgb` {#member-topercentagergb-b279070bb976}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toPercentageRgb(): PRGBA
````

Returns the object as a RGBA object.

## `toPercentageRgbString` {#member-topercentagergbstring-5e38a8107669}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toPercentageRgbString(): string
````

Returns the RGBA relative values interpolated into a string with the following format:
"RGBA(xxx, xxx, xxx, xx)".

## `toRgb` {#member-torgb-eb843e12c571}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toRgb(): RGBA
````

Returns the object as a RGBA object.

## `toRgba` {#member-torgba-d38b3100fb59}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toRgba(): [number, number, number, number]
````

Returns the color as [r, g, b, a], every component in 0..1.

## `toRgbString` {#member-torgbstring-86f1f0a1de33}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toRgbString(): string
````

Returns the RGBA values interpolated into a string with the following format:
"RGBA(xxx, xxx, xxx, xx)".

## `toString` {#member-tostring-fbd0316198bb}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
toString(format?: "name" | "rgb" | "prgb" | "hex" | "hex6" | "hex3" | "hex4" | "hex8" | "hsl" | "hsv"): string
````

String representation of the color.

### Parameters

| Name | Type | Description |
|---|---|---|
| `format` | `"name" \| "rgb" \| "prgb" \| "hex" \| "hex6" \| "hex3" \| "hex4" \| "hex8" \| "hsl" \| "hsv"` | The format to be used when displaying the string representation.  The accepted values are: "rgb", "prgb", "hex6", "hex3", "hex8", "name", "hsl", "hsv". |

## `triad` {#member-triad-2669f628979e}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
triad(): [TinyColor, TinyColor, TinyColor]
````

Gets a triad based off of the current color.

## `equals` {#member-equals-6ca223f94f05}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
static equals(color1?: ColorInput, color2?: ColorInput): boolean
````

Compares two colors. Each colors can be any color inputs.

### Parameters

| Name | Type | Description |
|---|---|---|
| `color1` | [[page:reference/javascript/sascom-commonjs/tinycolor-colorinput-178aa288|tinycolor.ColorInput]] |  |
| `color2` | [[page:reference/javascript/sascom-commonjs/tinycolor-colorinput-178aa288|tinycolor.ColorInput]] |  |

## `fromFloatObject` {#member-fromfloatobject-e706a97238a7}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
static fromFloatObject(object: { a: number; b: number; g: number; r: number }): TinyColor
````

Create a tinycolor from components in 0..1.

### Parameters

| Name | Type | Description |
|---|---|---|
| `object` | `{ a: number; b: number; g: number; r: number }` |  |

## `fromRatio` {#member-fromratio-8df5a01757c2}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
static fromRatio(ratio?: ColorInputWithoutInstance): TinyColor
````

Create a tinycolor instance based off the relative values.
Works with any color formats

### Parameters

| Name | Type | Description |
|---|---|---|
| `ratio` | [[page:reference/javascript/sascom-commonjs/tinycolor-colorinputwithoutinstance-94c6081a|tinycolor.ColorInputWithoutInstance]] | the relative color/hue values to apply to the new instance. |

## `isReadable` {#member-isreadable-5376834946f3}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
static isReadable(color1: ColorInput, color2: ColorInput, wcag2?: WCAG2Options): boolean
````

Ensure that foreground and background color combinations meet WCAG2 guidelines.

### Parameters

| Name | Type | Description |
|---|---|---|
| `color1` | [[page:reference/javascript/sascom-commonjs/tinycolor-colorinput-178aa288|tinycolor.ColorInput]] | the fore color wanted. |
| `color2` | [[page:reference/javascript/sascom-commonjs/tinycolor-colorinput-178aa288|tinycolor.ColorInput]] | the back color wanted. |
| `wcag2` | [[page:reference/javascript/sascom-commonjs/tinycolor-wcag2options-d2362acf|tinycolor.WCAG2Options]] | WCAG option. If the entire object is absent, function use the default of {level:"AA",size:"small"}. |

## `mostReadable` {#member-mostreadable-75fc2336e81b}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
static mostReadable(baseColor: ColorInput, colorList: (ColorInput)[], args?: MostReadableArgs): TinyColor
````

Given a base color and a list of possible foreground or background colors for that base,
 returns the most readable color. Optionally returns Black or White if the most readable color is unreadable.

### Parameters

| Name | Type | Description |
|---|---|---|
| `baseColor` | [[page:reference/javascript/sascom-commonjs/tinycolor-colorinput-178aa288|tinycolor.ColorInput]] | the base color. |
| `colorList` | `(ColorInput)[]` | array of colors to pick the most readable one from. |
| `args` | [[page:reference/javascript/sascom-commonjs/tinycolor-mostreadableargs-0a9110bf|tinycolor.MostReadableArgs]] | and object with extra arguments |

## `random` {#member-random-a62def42d8d2}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
static random(): TinyColor
````

Returns a random color

## `readability` {#member-readability-83d488aa5156}

````typescript sdk=js sdk-namespace="@sascom/commonjs"
static readability(color1: ColorInput, color2: ColorInput): number
````

Compares the two colors and returns the constrast between two colors as a number.

### Parameters

| Name | Type | Description |
|---|---|---|
| `color1` | [[page:reference/javascript/sascom-commonjs/tinycolor-colorinput-178aa288|tinycolor.ColorInput]] | the first color to be used in the comparison. |
| `color2` | [[page:reference/javascript/sascom-commonjs/tinycolor-colorinput-178aa288|tinycolor.ColorInput]] | the second color to be used in the comparison. |
