• Gets the particles color

    Returns

    the IHsl object

    Parameters

    • color: undefined | string | IRangeColor

      the input color to convert in IHsl object

    • Optional index: number

      the array index, if needed

    • useIndex: boolean = true

      set to false to ignore the index parameter

    Returns IHsl | undefined