I was getting constant errors until I realized that the code cannot handle decimal RGB values. In general, most places its integers but in applications with Color Picker where it has more precision, it can be decimal.
Here is the regex command to allow decimal RGB. I hope it helps others.
I was getting constant errors until I realized that the code cannot handle decimal RGB values. In general, most places its integers but in applications with Color Picker where it has more precision, it can be decimal. Here is the regex command to allow decimal RGB. I hope it helps others.