parseStringColor

Parsing color from color

Supported formats samples (on Red color based):

  • #f00

  • #f00f

  • #ff0000

  • #ff0000ff

  • rgb(255, 0, 0)

  • rgba(255, 0, 0, 1)