Interface IAdjustedColor

A color that has been adjusted.

interface IAdjustedColor {
    val: string;
    adjustments(): readonly ColorAdjustment[];
    asCSS(darkMode?, alpha?): string;
    isEqual(other): boolean;
    isImmutable(): true;
    toHSLA(darkMode?): HSLAColor;
    toJSON(): any;
    toRGBA(darkMode?): RGBAColor;
    toString(): string;
}

Implemented by

Properties

val: string

Methods

  • Parameters

    • Optional darkMode: boolean
    • Optional alpha: boolean

    Returns string

  • Parameters

    • other: any

    Returns boolean

  • Returns true

  • Returns any

  • Returns string