@skchr/color
    Preparing search index...

    Type Alias DiscoverOptions

    Options for the discover() palette generator function.

    type DiscoverOptions = {
        colorspace?: Colorspaces;
        kind?: SchemeType[];
        maxDistance?: number;
        minDistance?: number;
        token?: TokenOptions;
    }
    Index

    Properties

    colorspace?: Colorspaces

    The colorspace to retrieve channel values from.

    kind?: SchemeType[]

    The palette type to return. Default is undefined

    maxDistance?: number

    The minimum distance between colors. May affect finally palette results Default is the jnd internal constant.

    minDistance?: number

    The minimum distance between colors. May affect finally palette results. Default is 0

    token?: TokenOptions

    Specify the parsing behaviour and change output type of the ColorToken.