tsParticles - v4.4.0
    Preparing search index...
    • Gets a CSS style string from a IHsv object and opacity value

      Parameters

      • color: IHsv

        the IHsv input color

      • hdr: boolean

        indicates if the color is in HDR space

      • Optionalopacity: number

        the opacity value

      • OptionalpeakNits: number

        the peak brightness in nits

      • Optionalmode: HdrMode

        the HDR mode

      Returns string

      the CSS style string