Valid RGB color value
Pattern for matching actually valid RGB values.
validate separator (mixing spaces and commas between values is not valid)
validate if comma is used as separator if alpha channel is set
validate units (mixing percentage with integers is not valid)
extract r, g, b, a, separator and unit with named gr...
Submitted by BorisTB - 9 months ago