Inserted regex for validation of API.setTextColor() method