Index: /trunk/src/org/openstreetmap/josm/tools/ColorHelper.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/tools/ColorHelper.java	(revision 1370)
+++ /trunk/src/org/openstreetmap/josm/tools/ColorHelper.java	(revision 1371)
@@ -12,5 +12,5 @@
         if (html.length() > 0 && html.charAt(0) == '#')
             html = html.substring(1);
-        else if (html.length() != 6 && html.length() != 8)
+        if (html.length() != 6 && html.length() != 8)
             return null;
         try {
