• Gets alpha value from string color

    Returns

    the alpha value

    Parameters

    • input: string

      the input color to convert in alpha value

    Returns number | undefined