added test cases for hex color codes