Bitbybit Docs
    Preparing search index...

    Class HexAlphaDto (Inputs.Color)

    A hex color and an opacity for color.hexToRgba.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalcolor: string
      • Optionalalpha: number

      Returns HexAlphaDto

    Properties

    color?: string

    The color as a hex text such as #ff5733 or #f53, with or without the #.

    #0000ff
    
    alpha?: number

    How opaque the color is, from 0 for fully transparent to 1 for solid; a value outside that is held at the nearer end.

    0.5
    

    -Infinity

    Infinity

    0.05