• Get color differences per-component, on any color space

    Parameters

    • c1: ColorTypes
    • c2: ColorTypes
    • options: {
          hue: "raw" | "increasing" | "decreasing" | "longer" | "shorter";
          space: string | Space;
      } = {}
      • hue: "raw" | "increasing" | "decreasing" | "longer" | "shorter"

        How to handle hue differences. Same as hue interpolation option.

      • space: string | Space

        The color space to use for the delta calculation. Defaults to the color space of the first color.

    Returns DeltasReturn