@OPEN-KAPPA/COLORS
    Preparing search index...

    Type Alias AlphaResults

    Return type for alpha manipulation methods. Formula:

    • outComponent = (a1Out * c1 + a2out * c2) / divider
    • outAlpha = finalAlpha
    type AlphaResults = {
        a1Out: number;
        a2Out: number;
        divider: number;
        finalAlpha: number;
    }
    Index

    Properties

    a1Out: number

    Coefficient for the first color component.

    a2Out: number

    Coefficient for the second color component.

    divider: number

    Coefficioent to divide the omterpolation result.

    finalAlpha: number

    The alpha for the output color.