• Gets the particles color

    Parameters

    • Optional input: string | IRangeColor

      the input color to convert in [[IRgb]] object

    • Optional index: number

      the array index, if needed

    • useIndex: boolean = true

      set to false for ignoring the index parameter

    Returns IRgb | undefined