Bitbybit Docs
    Preparing search index...

    Class RGBMinMaxDto (Inputs.Color)

    Three channel values and the range they use, for color.rgbToHex.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalr: number
      • Optionalg: number
      • Optionalb: number
      • Optionalmin: number
      • Optionalmax: number

      Returns RGBMinMaxDto

    Properties

    r: number

    The red channel, within min to max.

    255
    

    0

    255

    1

    g: number

    The green channel, within min to max.

    255
    

    0

    255

    1

    b: number

    The blue channel, within min to max.

    255
    

    0

    255

    1

    min: number

    The lowest value a channel can have, usually 0.

    0
    

    0

    255

    0.1

    max: number

    The highest value a channel can have: 255 or 1; anything else is remapped to 0 to 255 first.

    255
    

    0

    255

    0.1