summaryrefslogtreecommitdiff
path: root/jsonschema
diff options
context:
space:
mode:
Diffstat (limited to 'jsonschema')
-rw-r--r--jsonschema/_format.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/jsonschema/_format.py b/jsonschema/_format.py
index 31f5b5e..c6a0d05 100644
--- a/jsonschema/_format.py
+++ b/jsonschema/_format.py
@@ -383,11 +383,6 @@ with suppress(ImportError):
return True
return is_css_color_code(instance)
- def is_css3_color(instance):
- if instance.lower() in webcolors.css3_names_to_hex:
- return True
- return is_css_color_code(instance)
-
with suppress(ImportError):
import jsonpointer