Group colors(?P<colors>\d+) \d+a digit, repeated at least once
:the literal : (5810 / 728 / 3A16)
\s*any whitespace character, repeated any number of times
\(the literal ( (4010 / 508 / 2816)
\s*any whitespace character, repeated any number of times
\d+a digit, repeated at least once
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
Group green(?P<green>\d+) \d+a digit, repeated at least once
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
\d+a digit, repeated at least once
g modifier: global. Finds all matches instead of stopping after the first