You need to get the numbers from rgba (число, число, число, число) using RegExp . Numbers should not be displayed as separate numbers, but as a full number.
That is, not [2], [2], [5], [], [3], [1] but [225], [], [31]
You need to get the numbers from rgba (число, число, число, число) using RegExp . Numbers should not be displayed as separate numbers, but as a full number.
That is, not [2], [2], [5], [], [3], [1] but [225], [], [31]
Source: https://ru.stackoverflow.com/questions/791262/
All Articles
rgba \((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)\)- entithat