Changed array offsets to fetch correct subparts in GetNamedColor

Changed array offsets to fetch correct subparts from preg_matched hex color in GetNamedColor. Array index 0 is the full captured match.