[ColorPicker] Switch Color matching to a faster and simpler Regex
The regex matches all 3-12 digit hex numbers and 3-20 character length strings, then actual colors are determined using QColor::isValid. This is similar to how color matching is handled in Konsole (konsole!297). This is faster than the manual matching (the Qt PCRE is scary fast) and reduces code complexity.
Showing with 40 additions and 122 deletions