tsParticles - v4.0.0-beta.12
    Preparing search index...
    • Gets the particles color

      Parameters

      • pluginManager: PluginManager

        the plugin manager

      • Optionalinput: string | IColor

        the input color to convert in IRgb object

      • Optionalindex: number

        the array index, if needed

      • useIndex: boolean = true

        set to false to ignore the index parameter

      Returns IRgb | undefined

      returns an RGB color taken from a IColor object