OptionalagainstThe color to compare the factor with. All the factors are calculated between this color and the ones in the colors array. Only works for the 'distance' and 'contrast' factor.
OptionalcolorspaceThe colorspace to perform the sorting operation in. It is ignored when the factor is 'luminance' | 'contrast' | 'distance'.
OptionalrelativeChoose whether to use the against color token for factors that support it as an overload (that is, all factors except distance and `contrast)
Optional parameters to specify how the data should be computed.