Fixed bug in regex for convert rgb