Bitbybit Docs
    Preparing search index...

    Class RGBObjectMaxDto (Inputs.Color)

    An { r, g, b } color and the range its channels use, for color.rgbObjToHex.

    Index

    Constructors

    Properties

    Constructors

    Properties

    The color object to convert.

    undefined
    
    min: number

    The lowest value a channel can have in this object, usually 0.

    0
    

    0

    255

    0.1

    max: number

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

    255
    

    0

    255

    0.1