Bitbybit Docs
    Preparing search index...

    Class InvertHexDto (Inputs.Color)

    A hex color and a mode for color.invert.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalcolor: string

      Returns InvertHexDto

    Properties

    color: string

    The color to invert, as a hex text such as #ff5733.

    #0000ff
    
    blackAndWhite: boolean

    When true, the result is black for a light color and white for a dark one instead of the exact inverse; useful for readable text.