I was using the function to convert four value hex to rgba, and when i use a non-valid value for alpha of hex, it returns 0.6 for alpha in rgba...
pSBC(0, '#6c9s', 'c' , true) // returns rgba(0,102,204,0.6)
's' is not a valid parameter, but function renders it anyway. also tried other non-valid params like 'q' instead if 's', they worked too
I was using the function to convert four value hex to rgba, and when i use a non-valid value for alpha of hex, it returns 0.6 for alpha in rgba...
pSBC(0, '#6c9s', 'c' , true) // returns rgba(0,102,204,0.6)'s'is not a valid parameter, but function renders it anyway. also tried other non-valid params like'q'instead if's', they worked too