Discord.https - v3.0.16
    Preparing search index...

    Interface APIRoleColors

    interface APIRoleColors {
        primary_color: number;
        secondary_color: null | number;
        tertiary_color: null | number;
    }
    Index

    Properties

    primary_color: number

    The primary color for the role

    secondary_color: null | number

    The secondary color for the role, this will make the role a gradient between the other provided colors

    tertiary_color: null | number

    The tertiary color for the role, this will turn the gradient into a holographic style

    When sending tertiary_color the API enforces the role color to be a holographic style with values of primary_color = 11127295, secondary_color = 16759788, and tertiary_color = 16761760.