Bitbybit Docs
    Preparing search index...

    Class RGBObjectMaxDto (Inputs.Color)

    用于 color.rgbObjToHex{ r, g, b } 颜色及其通道使用的范围。

    Index

    Constructors

    Properties

    Constructors

    Properties

    要转换的颜色对象。

    undefined
    
    min: number

    该对象中通道可以取的最低值,通常为 0。

    0
    

    0

    255

    0.1

    max: number

    该对象中通道可以取的最高值:255 或 1;其他值会先被重新映射到 0 到 255。

    255
    

    0

    255

    0.1