valuesets 0.3.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of valuesets might be problematic. Click here for more details.
- valuesets/__init__.py +7 -0
- valuesets/_version.py +8 -0
- valuesets/datamodel/valuesets.py +13796 -0
- valuesets/datamodel/valuesets_dataclass.py +24503 -0
- valuesets/datamodel/valuesets_pydantic.py +13796 -0
- valuesets/enums/__init__.py +590 -0
- valuesets/enums/academic/__init__.py +1 -0
- valuesets/enums/academic/research.py +559 -0
- valuesets/enums/analytical_chemistry/__init__.py +1 -0
- valuesets/enums/analytical_chemistry/mass_spectrometry.py +198 -0
- valuesets/enums/bio/__init__.py +1 -0
- valuesets/enums/bio/biological_colors.py +238 -0
- valuesets/enums/bio/cell_cycle.py +180 -0
- valuesets/enums/bio/currency_chemicals.py +52 -0
- valuesets/enums/bio/developmental_stages.py +103 -0
- valuesets/enums/bio/genome_features.py +182 -0
- valuesets/enums/bio/genomics.py +91 -0
- valuesets/enums/bio/go_aspect.py +32 -0
- valuesets/enums/bio/go_causality.py +58 -0
- valuesets/enums/bio/go_evidence.py +129 -0
- valuesets/enums/bio/human_developmental_stages.py +62 -0
- valuesets/enums/bio/insdc_geographic_locations.py +591 -0
- valuesets/enums/bio/insdc_missing_values.py +49 -0
- valuesets/enums/bio/lipid_categories.py +67 -0
- valuesets/enums/bio/mouse_developmental_stages.py +62 -0
- valuesets/enums/bio/plant_biology.py +86 -0
- valuesets/enums/bio/plant_developmental_stages.py +54 -0
- valuesets/enums/bio/plant_sex.py +81 -0
- valuesets/enums/bio/protein_evidence.py +61 -0
- valuesets/enums/bio/proteomics_standards.py +123 -0
- valuesets/enums/bio/psi_mi.py +306 -0
- valuesets/enums/bio/relationship_to_oxygen.py +37 -0
- valuesets/enums/bio/sequence_alphabets.py +449 -0
- valuesets/enums/bio/sequence_chemistry.py +357 -0
- valuesets/enums/bio/sequencing_platforms.py +302 -0
- valuesets/enums/bio/structural_biology.py +320 -0
- valuesets/enums/bio/taxonomy.py +238 -0
- valuesets/enums/bio/trophic_levels.py +85 -0
- valuesets/enums/bio/uniprot_species.py +344 -0
- valuesets/enums/bio/viral_genome_types.py +47 -0
- valuesets/enums/bioprocessing/__init__.py +1 -0
- valuesets/enums/bioprocessing/scale_up.py +249 -0
- valuesets/enums/business/__init__.py +1 -0
- valuesets/enums/business/human_resources.py +275 -0
- valuesets/enums/business/industry_classifications.py +181 -0
- valuesets/enums/business/management_operations.py +228 -0
- valuesets/enums/business/organizational_structures.py +236 -0
- valuesets/enums/business/quality_management.py +181 -0
- valuesets/enums/business/supply_chain.py +232 -0
- valuesets/enums/chemistry/__init__.py +1 -0
- valuesets/enums/chemistry/chemical_entities.py +315 -0
- valuesets/enums/chemistry/reaction_directionality.py +65 -0
- valuesets/enums/chemistry/reactions.py +256 -0
- valuesets/enums/clinical/__init__.py +1 -0
- valuesets/enums/clinical/nih_demographics.py +177 -0
- valuesets/enums/clinical/phenopackets.py +254 -0
- valuesets/enums/common_value_sets.py +8791 -0
- valuesets/enums/computing/__init__.py +1 -0
- valuesets/enums/computing/file_formats.py +294 -0
- valuesets/enums/computing/maturity_levels.py +196 -0
- valuesets/enums/computing/mime_types.py +227 -0
- valuesets/enums/confidence_levels.py +168 -0
- valuesets/enums/contributor.py +30 -0
- valuesets/enums/core.py +42 -0
- valuesets/enums/data/__init__.py +1 -0
- valuesets/enums/data/data_absent_reason.py +53 -0
- valuesets/enums/data_science/__init__.py +1 -0
- valuesets/enums/data_science/binary_classification.py +87 -0
- valuesets/enums/data_science/emotion_classification.py +66 -0
- valuesets/enums/data_science/priority_severity.py +73 -0
- valuesets/enums/data_science/quality_control.py +46 -0
- valuesets/enums/data_science/sentiment_analysis.py +50 -0
- valuesets/enums/data_science/text_classification.py +97 -0
- valuesets/enums/demographics.py +206 -0
- valuesets/enums/ecological_interactions.py +151 -0
- valuesets/enums/energy/__init__.py +1 -0
- valuesets/enums/energy/energy.py +343 -0
- valuesets/enums/energy/fossil_fuels.py +29 -0
- valuesets/enums/energy/nuclear/__init__.py +1 -0
- valuesets/enums/energy/nuclear/nuclear_facilities.py +195 -0
- valuesets/enums/energy/nuclear/nuclear_fuel_cycle.py +96 -0
- valuesets/enums/energy/nuclear/nuclear_fuels.py +175 -0
- valuesets/enums/energy/nuclear/nuclear_operations.py +191 -0
- valuesets/enums/energy/nuclear/nuclear_regulatory.py +188 -0
- valuesets/enums/energy/nuclear/nuclear_safety.py +164 -0
- valuesets/enums/energy/nuclear/nuclear_waste.py +158 -0
- valuesets/enums/energy/nuclear/reactor_types.py +163 -0
- valuesets/enums/environmental_health/__init__.py +1 -0
- valuesets/enums/environmental_health/exposures.py +265 -0
- valuesets/enums/geography/__init__.py +1 -0
- valuesets/enums/geography/geographic_codes.py +741 -0
- valuesets/enums/health/__init__.py +12 -0
- valuesets/enums/health/vaccination.py +98 -0
- valuesets/enums/health.py +36 -0
- valuesets/enums/health_base.py +36 -0
- valuesets/enums/healthcare.py +45 -0
- valuesets/enums/industry/__init__.py +1 -0
- valuesets/enums/industry/extractive_industry.py +94 -0
- valuesets/enums/industry/mining.py +388 -0
- valuesets/enums/industry/safety_colors.py +201 -0
- valuesets/enums/investigation.py +27 -0
- valuesets/enums/materials_science/__init__.py +1 -0
- valuesets/enums/materials_science/characterization_methods.py +112 -0
- valuesets/enums/materials_science/crystal_structures.py +76 -0
- valuesets/enums/materials_science/material_properties.py +119 -0
- valuesets/enums/materials_science/material_types.py +104 -0
- valuesets/enums/materials_science/pigments_dyes.py +198 -0
- valuesets/enums/materials_science/synthesis_methods.py +109 -0
- valuesets/enums/medical/__init__.py +1 -0
- valuesets/enums/medical/clinical.py +277 -0
- valuesets/enums/medical/neuroimaging.py +119 -0
- valuesets/enums/mining_processing.py +302 -0
- valuesets/enums/physics/__init__.py +1 -0
- valuesets/enums/physics/states_of_matter.py +46 -0
- valuesets/enums/social/__init__.py +1 -0
- valuesets/enums/social/person_status.py +29 -0
- valuesets/enums/spatial/__init__.py +1 -0
- valuesets/enums/spatial/spatial_qualifiers.py +246 -0
- valuesets/enums/statistics/__init__.py +5 -0
- valuesets/enums/statistics/prediction_outcomes.py +31 -0
- valuesets/enums/statistics.py +31 -0
- valuesets/enums/time/__init__.py +1 -0
- valuesets/enums/time/temporal.py +254 -0
- valuesets/enums/units/__init__.py +1 -0
- valuesets/enums/units/measurements.py +310 -0
- valuesets/enums/visual/__init__.py +1 -0
- valuesets/enums/visual/colors.py +376 -0
- valuesets/generators/__init__.py +19 -0
- valuesets/generators/auto_slot_injector.py +280 -0
- valuesets/generators/enhanced_pydantic_generator.py +100 -0
- valuesets/generators/enum_slot_generator.py +201 -0
- valuesets/generators/modular_rich_generator.py +353 -0
- valuesets/generators/prefix_standardizer.py +198 -0
- valuesets/generators/rich_enum.py +127 -0
- valuesets/generators/rich_pydantic_generator.py +310 -0
- valuesets/generators/smart_slot_syncer.py +428 -0
- valuesets/generators/sssom_generator.py +394 -0
- valuesets/merged/merged_hierarchy.yaml +21649 -0
- valuesets/schema/README.md +3 -0
- valuesets/schema/academic/research.yaml +911 -0
- valuesets/schema/analytical_chemistry/mass_spectrometry.yaml +206 -0
- valuesets/schema/bio/bio_entities.yaml +364 -0
- valuesets/schema/bio/biological_colors.yaml +434 -0
- valuesets/schema/bio/cell_cycle.yaml +309 -0
- valuesets/schema/bio/currency_chemicals.yaml +70 -0
- valuesets/schema/bio/developmental_stages.yaml +226 -0
- valuesets/schema/bio/genome_features.yaml +342 -0
- valuesets/schema/bio/genomics.yaml +101 -0
- valuesets/schema/bio/go_aspect.yaml +39 -0
- valuesets/schema/bio/go_causality.yaml +119 -0
- valuesets/schema/bio/go_evidence.yaml +215 -0
- valuesets/schema/bio/insdc_geographic_locations.yaml +911 -0
- valuesets/schema/bio/insdc_missing_values.yaml +85 -0
- valuesets/schema/bio/lipid_categories.yaml +72 -0
- valuesets/schema/bio/plant_biology.yaml +125 -0
- valuesets/schema/bio/plant_developmental_stages.yaml +77 -0
- valuesets/schema/bio/plant_sex.yaml +108 -0
- valuesets/schema/bio/protein_evidence.yaml +63 -0
- valuesets/schema/bio/proteomics_standards.yaml +116 -0
- valuesets/schema/bio/psi_mi.yaml +400 -0
- valuesets/schema/bio/relationship_to_oxygen.yaml +46 -0
- valuesets/schema/bio/sequence_alphabets.yaml +1168 -0
- valuesets/schema/bio/sequence_chemistry.yaml +477 -0
- valuesets/schema/bio/sequencing_platforms.yaml +515 -0
- valuesets/schema/bio/structural_biology.yaml +428 -0
- valuesets/schema/bio/taxonomy.yaml +453 -0
- valuesets/schema/bio/trophic_levels.yaml +118 -0
- valuesets/schema/bio/uniprot_species.yaml +1209 -0
- valuesets/schema/bio/viral_genome_types.yaml +99 -0
- valuesets/schema/bioprocessing/scale_up.yaml +458 -0
- valuesets/schema/business/human_resources.yaml +752 -0
- valuesets/schema/business/industry_classifications.yaml +448 -0
- valuesets/schema/business/management_operations.yaml +602 -0
- valuesets/schema/business/organizational_structures.yaml +645 -0
- valuesets/schema/business/quality_management.yaml +502 -0
- valuesets/schema/business/supply_chain.yaml +688 -0
- valuesets/schema/chemistry/chemical_entities.yaml +639 -0
- valuesets/schema/chemistry/reaction_directionality.yaml +60 -0
- valuesets/schema/chemistry/reactions.yaml +442 -0
- valuesets/schema/clinical/nih_demographics.yaml +285 -0
- valuesets/schema/clinical/phenopackets.yaml +429 -0
- valuesets/schema/computing/file_formats.yaml +631 -0
- valuesets/schema/computing/maturity_levels.yaml +229 -0
- valuesets/schema/computing/mime_types.yaml +266 -0
- valuesets/schema/confidence_levels.yaml +206 -0
- valuesets/schema/contributor.yaml +30 -0
- valuesets/schema/core.yaml +55 -0
- valuesets/schema/data/data_absent_reason.yaml +82 -0
- valuesets/schema/data_science/binary_classification.yaml +125 -0
- valuesets/schema/data_science/emotion_classification.yaml +109 -0
- valuesets/schema/data_science/priority_severity.yaml +122 -0
- valuesets/schema/data_science/quality_control.yaml +68 -0
- valuesets/schema/data_science/sentiment_analysis.yaml +81 -0
- valuesets/schema/data_science/text_classification.yaml +135 -0
- valuesets/schema/demographics.yaml +238 -0
- valuesets/schema/ecological_interactions.yaml +298 -0
- valuesets/schema/energy/energy.yaml +595 -0
- valuesets/schema/energy/fossil_fuels.yaml +28 -0
- valuesets/schema/energy/nuclear/nuclear_facilities.yaml +463 -0
- valuesets/schema/energy/nuclear/nuclear_fuel_cycle.yaml +82 -0
- valuesets/schema/energy/nuclear/nuclear_fuels.yaml +421 -0
- valuesets/schema/energy/nuclear/nuclear_operations.yaml +480 -0
- valuesets/schema/energy/nuclear/nuclear_regulatory.yaml +200 -0
- valuesets/schema/energy/nuclear/nuclear_safety.yaml +352 -0
- valuesets/schema/energy/nuclear/nuclear_waste.yaml +332 -0
- valuesets/schema/energy/nuclear/reactor_types.yaml +394 -0
- valuesets/schema/environmental_health/exposures.yaml +355 -0
- valuesets/schema/generated_slots.yaml +1828 -0
- valuesets/schema/geography/geographic_codes.yaml +1018 -0
- valuesets/schema/health/vaccination.yaml +102 -0
- valuesets/schema/health.yaml +38 -0
- valuesets/schema/healthcare.yaml +53 -0
- valuesets/schema/industry/extractive_industry.yaml +89 -0
- valuesets/schema/industry/mining.yaml +888 -0
- valuesets/schema/industry/safety_colors.yaml +375 -0
- valuesets/schema/investigation.yaml +64 -0
- valuesets/schema/materials_science/characterization_methods.yaml +193 -0
- valuesets/schema/materials_science/crystal_structures.yaml +138 -0
- valuesets/schema/materials_science/material_properties.yaml +135 -0
- valuesets/schema/materials_science/material_types.yaml +151 -0
- valuesets/schema/materials_science/pigments_dyes.yaml +465 -0
- valuesets/schema/materials_science/synthesis_methods.yaml +186 -0
- valuesets/schema/medical/clinical.yaml +610 -0
- valuesets/schema/medical/neuroimaging.yaml +325 -0
- valuesets/schema/mining_processing.yaml +295 -0
- valuesets/schema/physics/states_of_matter.yaml +46 -0
- valuesets/schema/slot_mixins.yaml +143 -0
- valuesets/schema/social/person_status.yaml +28 -0
- valuesets/schema/spatial/spatial_qualifiers.yaml +466 -0
- valuesets/schema/statistics/prediction_outcomes.yaml +26 -0
- valuesets/schema/statistics.yaml +34 -0
- valuesets/schema/time/temporal.yaml +435 -0
- valuesets/schema/types.yaml +15 -0
- valuesets/schema/units/measurements.yaml +675 -0
- valuesets/schema/valuesets.yaml +100 -0
- valuesets/schema/visual/colors.yaml +778 -0
- valuesets/utils/__init__.py +6 -0
- valuesets/utils/comparison.py +102 -0
- valuesets/utils/expand_dynamic_enums.py +414 -0
- valuesets/utils/mapping_utils.py +236 -0
- valuesets/validators/__init__.py +11 -0
- valuesets/validators/enum_evaluator.py +669 -0
- valuesets/validators/oak_config.yaml +70 -0
- valuesets/validators/validate_with_ols.py +241 -0
- valuesets-0.3.1.dist-info/METADATA +395 -0
- valuesets-0.3.1.dist-info/RECORD +248 -0
- valuesets-0.3.1.dist-info/WHEEL +4 -0
- valuesets-0.3.1.dist-info/licenses/LICENSE +201 -0
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Color Value Sets
|
|
3
|
+
|
|
4
|
+
Comprehensive color value sets including basic colors, web colors, X11/Unix colors, and CSS color specifications with hex codes as meanings.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Generated from: visual/colors.yaml
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
from typing import Dict, Any, Optional
|
|
13
|
+
from valuesets.generators.rich_enum import RichEnum
|
|
14
|
+
|
|
15
|
+
class BasicColorEnum(RichEnum):
|
|
16
|
+
"""
|
|
17
|
+
Basic color names commonly used in everyday language
|
|
18
|
+
"""
|
|
19
|
+
# Enum members
|
|
20
|
+
RED = "RED"
|
|
21
|
+
GREEN = "GREEN"
|
|
22
|
+
BLUE = "BLUE"
|
|
23
|
+
YELLOW = "YELLOW"
|
|
24
|
+
ORANGE = "ORANGE"
|
|
25
|
+
PURPLE = "PURPLE"
|
|
26
|
+
BLACK = "BLACK"
|
|
27
|
+
WHITE = "WHITE"
|
|
28
|
+
GRAY = "GRAY"
|
|
29
|
+
BROWN = "BROWN"
|
|
30
|
+
PINK = "PINK"
|
|
31
|
+
CYAN = "CYAN"
|
|
32
|
+
MAGENTA = "MAGENTA"
|
|
33
|
+
|
|
34
|
+
# Set metadata after class creation
|
|
35
|
+
BasicColorEnum._metadata = {
|
|
36
|
+
"RED": {'description': 'Primary red color', 'meaning': 'HEX:FF0000', 'annotations': {'wavelength': '700 nm', 'rgb': '255,0,0'}},
|
|
37
|
+
"GREEN": {'description': 'Primary green color', 'meaning': 'HEX:008000', 'annotations': {'wavelength': '550 nm', 'rgb': '0,128,0'}},
|
|
38
|
+
"BLUE": {'description': 'Primary blue color', 'meaning': 'HEX:0000FF', 'annotations': {'wavelength': '450 nm', 'rgb': '0,0,255'}},
|
|
39
|
+
"YELLOW": {'description': 'Secondary yellow color', 'meaning': 'HEX:FFFF00', 'annotations': {'wavelength': '580 nm', 'rgb': '255,255,0'}},
|
|
40
|
+
"ORANGE": {'description': 'Secondary orange color', 'meaning': 'HEX:FFA500', 'annotations': {'wavelength': '600 nm', 'rgb': '255,165,0'}},
|
|
41
|
+
"PURPLE": {'description': 'Secondary purple color', 'meaning': 'HEX:800080', 'annotations': {'wavelength': '420 nm', 'rgb': '128,0,128'}},
|
|
42
|
+
"BLACK": {'description': 'Absence of color', 'meaning': 'HEX:000000', 'annotations': {'rgb': '0,0,0'}},
|
|
43
|
+
"WHITE": {'description': 'All colors combined', 'meaning': 'HEX:FFFFFF', 'annotations': {'rgb': '255,255,255'}},
|
|
44
|
+
"GRAY": {'description': 'Neutral gray', 'meaning': 'HEX:808080', 'annotations': {'rgb': '128,128,128', 'aliases': 'grey'}},
|
|
45
|
+
"BROWN": {'description': 'Brown color', 'meaning': 'HEX:A52A2A', 'annotations': {'rgb': '165,42,42'}},
|
|
46
|
+
"PINK": {'description': 'Light red/pink color', 'meaning': 'HEX:FFC0CB', 'annotations': {'rgb': '255,192,203'}},
|
|
47
|
+
"CYAN": {'description': 'Cyan/aqua color', 'meaning': 'HEX:00FFFF', 'annotations': {'wavelength': '490 nm', 'rgb': '0,255,255'}},
|
|
48
|
+
"MAGENTA": {'description': 'Magenta color', 'meaning': 'HEX:FF00FF', 'annotations': {'rgb': '255,0,255'}},
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
class WebColorEnum(RichEnum):
|
|
52
|
+
"""
|
|
53
|
+
Standard HTML/CSS named colors (147 colors)
|
|
54
|
+
"""
|
|
55
|
+
# Enum members
|
|
56
|
+
INDIAN_RED = "INDIAN_RED"
|
|
57
|
+
LIGHT_CORAL = "LIGHT_CORAL"
|
|
58
|
+
SALMON = "SALMON"
|
|
59
|
+
DARK_SALMON = "DARK_SALMON"
|
|
60
|
+
CRIMSON = "CRIMSON"
|
|
61
|
+
FIREBRICK = "FIREBRICK"
|
|
62
|
+
DARK_RED = "DARK_RED"
|
|
63
|
+
HOT_PINK = "HOT_PINK"
|
|
64
|
+
DEEP_PINK = "DEEP_PINK"
|
|
65
|
+
LIGHT_PINK = "LIGHT_PINK"
|
|
66
|
+
PALE_VIOLET_RED = "PALE_VIOLET_RED"
|
|
67
|
+
CORAL = "CORAL"
|
|
68
|
+
TOMATO = "TOMATO"
|
|
69
|
+
ORANGE_RED = "ORANGE_RED"
|
|
70
|
+
DARK_ORANGE = "DARK_ORANGE"
|
|
71
|
+
GOLD = "GOLD"
|
|
72
|
+
LIGHT_YELLOW = "LIGHT_YELLOW"
|
|
73
|
+
LEMON_CHIFFON = "LEMON_CHIFFON"
|
|
74
|
+
PAPAYA_WHIP = "PAPAYA_WHIP"
|
|
75
|
+
MOCCASIN = "MOCCASIN"
|
|
76
|
+
PEACH_PUFF = "PEACH_PUFF"
|
|
77
|
+
KHAKI = "KHAKI"
|
|
78
|
+
LAVENDER = "LAVENDER"
|
|
79
|
+
THISTLE = "THISTLE"
|
|
80
|
+
PLUM = "PLUM"
|
|
81
|
+
VIOLET = "VIOLET"
|
|
82
|
+
ORCHID = "ORCHID"
|
|
83
|
+
FUCHSIA = "FUCHSIA"
|
|
84
|
+
MEDIUM_ORCHID = "MEDIUM_ORCHID"
|
|
85
|
+
MEDIUM_PURPLE = "MEDIUM_PURPLE"
|
|
86
|
+
BLUE_VIOLET = "BLUE_VIOLET"
|
|
87
|
+
DARK_VIOLET = "DARK_VIOLET"
|
|
88
|
+
DARK_ORCHID = "DARK_ORCHID"
|
|
89
|
+
DARK_MAGENTA = "DARK_MAGENTA"
|
|
90
|
+
INDIGO = "INDIGO"
|
|
91
|
+
GREEN_YELLOW = "GREEN_YELLOW"
|
|
92
|
+
CHARTREUSE = "CHARTREUSE"
|
|
93
|
+
LAWN_GREEN = "LAWN_GREEN"
|
|
94
|
+
LIME = "LIME"
|
|
95
|
+
LIME_GREEN = "LIME_GREEN"
|
|
96
|
+
PALE_GREEN = "PALE_GREEN"
|
|
97
|
+
LIGHT_GREEN = "LIGHT_GREEN"
|
|
98
|
+
MEDIUM_SPRING_GREEN = "MEDIUM_SPRING_GREEN"
|
|
99
|
+
SPRING_GREEN = "SPRING_GREEN"
|
|
100
|
+
MEDIUM_SEA_GREEN = "MEDIUM_SEA_GREEN"
|
|
101
|
+
SEA_GREEN = "SEA_GREEN"
|
|
102
|
+
FOREST_GREEN = "FOREST_GREEN"
|
|
103
|
+
DARK_GREEN = "DARK_GREEN"
|
|
104
|
+
YELLOW_GREEN = "YELLOW_GREEN"
|
|
105
|
+
OLIVE_DRAB = "OLIVE_DRAB"
|
|
106
|
+
OLIVE = "OLIVE"
|
|
107
|
+
DARK_OLIVE_GREEN = "DARK_OLIVE_GREEN"
|
|
108
|
+
AQUA = "AQUA"
|
|
109
|
+
CYAN = "CYAN"
|
|
110
|
+
LIGHT_CYAN = "LIGHT_CYAN"
|
|
111
|
+
PALE_TURQUOISE = "PALE_TURQUOISE"
|
|
112
|
+
AQUAMARINE = "AQUAMARINE"
|
|
113
|
+
TURQUOISE = "TURQUOISE"
|
|
114
|
+
MEDIUM_TURQUOISE = "MEDIUM_TURQUOISE"
|
|
115
|
+
DARK_TURQUOISE = "DARK_TURQUOISE"
|
|
116
|
+
LIGHT_SEA_GREEN = "LIGHT_SEA_GREEN"
|
|
117
|
+
CADET_BLUE = "CADET_BLUE"
|
|
118
|
+
DARK_CYAN = "DARK_CYAN"
|
|
119
|
+
TEAL = "TEAL"
|
|
120
|
+
LIGHT_STEEL_BLUE = "LIGHT_STEEL_BLUE"
|
|
121
|
+
POWDER_BLUE = "POWDER_BLUE"
|
|
122
|
+
LIGHT_BLUE = "LIGHT_BLUE"
|
|
123
|
+
SKY_BLUE = "SKY_BLUE"
|
|
124
|
+
LIGHT_SKY_BLUE = "LIGHT_SKY_BLUE"
|
|
125
|
+
DEEP_SKY_BLUE = "DEEP_SKY_BLUE"
|
|
126
|
+
DODGER_BLUE = "DODGER_BLUE"
|
|
127
|
+
CORNFLOWER_BLUE = "CORNFLOWER_BLUE"
|
|
128
|
+
STEEL_BLUE = "STEEL_BLUE"
|
|
129
|
+
ROYAL_BLUE = "ROYAL_BLUE"
|
|
130
|
+
MEDIUM_BLUE = "MEDIUM_BLUE"
|
|
131
|
+
DARK_BLUE = "DARK_BLUE"
|
|
132
|
+
NAVY = "NAVY"
|
|
133
|
+
MIDNIGHT_BLUE = "MIDNIGHT_BLUE"
|
|
134
|
+
CORNSILK = "CORNSILK"
|
|
135
|
+
BLANCHED_ALMOND = "BLANCHED_ALMOND"
|
|
136
|
+
BISQUE = "BISQUE"
|
|
137
|
+
NAVAJO_WHITE = "NAVAJO_WHITE"
|
|
138
|
+
WHEAT = "WHEAT"
|
|
139
|
+
BURLYWOOD = "BURLYWOOD"
|
|
140
|
+
TAN = "TAN"
|
|
141
|
+
ROSY_BROWN = "ROSY_BROWN"
|
|
142
|
+
SANDY_BROWN = "SANDY_BROWN"
|
|
143
|
+
GOLDENROD = "GOLDENROD"
|
|
144
|
+
DARK_GOLDENROD = "DARK_GOLDENROD"
|
|
145
|
+
PERU = "PERU"
|
|
146
|
+
CHOCOLATE = "CHOCOLATE"
|
|
147
|
+
SADDLE_BROWN = "SADDLE_BROWN"
|
|
148
|
+
SIENNA = "SIENNA"
|
|
149
|
+
MAROON = "MAROON"
|
|
150
|
+
SNOW = "SNOW"
|
|
151
|
+
HONEYDEW = "HONEYDEW"
|
|
152
|
+
MINT_CREAM = "MINT_CREAM"
|
|
153
|
+
AZURE = "AZURE"
|
|
154
|
+
ALICE_BLUE = "ALICE_BLUE"
|
|
155
|
+
GHOST_WHITE = "GHOST_WHITE"
|
|
156
|
+
WHITE_SMOKE = "WHITE_SMOKE"
|
|
157
|
+
SEASHELL = "SEASHELL"
|
|
158
|
+
BEIGE = "BEIGE"
|
|
159
|
+
OLD_LACE = "OLD_LACE"
|
|
160
|
+
FLORAL_WHITE = "FLORAL_WHITE"
|
|
161
|
+
IVORY = "IVORY"
|
|
162
|
+
ANTIQUE_WHITE = "ANTIQUE_WHITE"
|
|
163
|
+
LINEN = "LINEN"
|
|
164
|
+
LAVENDER_BLUSH = "LAVENDER_BLUSH"
|
|
165
|
+
MISTY_ROSE = "MISTY_ROSE"
|
|
166
|
+
GAINSBORO = "GAINSBORO"
|
|
167
|
+
LIGHT_GRAY = "LIGHT_GRAY"
|
|
168
|
+
SILVER = "SILVER"
|
|
169
|
+
DARK_GRAY = "DARK_GRAY"
|
|
170
|
+
DIM_GRAY = "DIM_GRAY"
|
|
171
|
+
LIGHT_SLATE_GRAY = "LIGHT_SLATE_GRAY"
|
|
172
|
+
SLATE_GRAY = "SLATE_GRAY"
|
|
173
|
+
DARK_SLATE_GRAY = "DARK_SLATE_GRAY"
|
|
174
|
+
|
|
175
|
+
# Set metadata after class creation
|
|
176
|
+
WebColorEnum._metadata = {
|
|
177
|
+
"INDIAN_RED": {'description': 'Indian red', 'meaning': 'HEX:CD5C5C', 'annotations': {'rgb': '205,92,92'}},
|
|
178
|
+
"LIGHT_CORAL": {'description': 'Light coral', 'meaning': 'HEX:F08080', 'annotations': {'rgb': '240,128,128'}},
|
|
179
|
+
"SALMON": {'description': 'Salmon', 'meaning': 'HEX:FA8072', 'annotations': {'rgb': '250,128,114'}},
|
|
180
|
+
"DARK_SALMON": {'description': 'Dark salmon', 'meaning': 'HEX:E9967A', 'annotations': {'rgb': '233,150,122'}},
|
|
181
|
+
"CRIMSON": {'description': 'Crimson', 'meaning': 'HEX:DC143C', 'annotations': {'rgb': '220,20,60'}},
|
|
182
|
+
"FIREBRICK": {'description': 'Firebrick', 'meaning': 'HEX:B22222', 'annotations': {'rgb': '178,34,34'}},
|
|
183
|
+
"DARK_RED": {'description': 'Dark red', 'meaning': 'HEX:8B0000', 'annotations': {'rgb': '139,0,0'}},
|
|
184
|
+
"HOT_PINK": {'description': 'Hot pink', 'meaning': 'HEX:FF69B4', 'annotations': {'rgb': '255,105,180'}},
|
|
185
|
+
"DEEP_PINK": {'description': 'Deep pink', 'meaning': 'HEX:FF1493', 'annotations': {'rgb': '255,20,147'}},
|
|
186
|
+
"LIGHT_PINK": {'description': 'Light pink', 'meaning': 'HEX:FFB6C1', 'annotations': {'rgb': '255,182,193'}},
|
|
187
|
+
"PALE_VIOLET_RED": {'description': 'Pale violet red', 'meaning': 'HEX:DB7093', 'annotations': {'rgb': '219,112,147'}},
|
|
188
|
+
"CORAL": {'description': 'Coral', 'meaning': 'HEX:FF7F50', 'annotations': {'rgb': '255,127,80'}},
|
|
189
|
+
"TOMATO": {'description': 'Tomato', 'meaning': 'HEX:FF6347', 'annotations': {'rgb': '255,99,71'}},
|
|
190
|
+
"ORANGE_RED": {'description': 'Orange red', 'meaning': 'HEX:FF4500', 'annotations': {'rgb': '255,69,0'}},
|
|
191
|
+
"DARK_ORANGE": {'description': 'Dark orange', 'meaning': 'HEX:FF8C00', 'annotations': {'rgb': '255,140,0'}},
|
|
192
|
+
"GOLD": {'description': 'Gold', 'meaning': 'HEX:FFD700', 'annotations': {'rgb': '255,215,0'}},
|
|
193
|
+
"LIGHT_YELLOW": {'description': 'Light yellow', 'meaning': 'HEX:FFFFE0', 'annotations': {'rgb': '255,255,224'}},
|
|
194
|
+
"LEMON_CHIFFON": {'description': 'Lemon chiffon', 'meaning': 'HEX:FFFACD', 'annotations': {'rgb': '255,250,205'}},
|
|
195
|
+
"PAPAYA_WHIP": {'description': 'Papaya whip', 'meaning': 'HEX:FFEFD5', 'annotations': {'rgb': '255,239,213'}},
|
|
196
|
+
"MOCCASIN": {'description': 'Moccasin', 'meaning': 'HEX:FFE4B5', 'annotations': {'rgb': '255,228,181'}},
|
|
197
|
+
"PEACH_PUFF": {'description': 'Peach puff', 'meaning': 'HEX:FFDAB9', 'annotations': {'rgb': '255,218,185'}},
|
|
198
|
+
"KHAKI": {'description': 'Khaki', 'meaning': 'HEX:F0E68C', 'annotations': {'rgb': '240,230,140'}},
|
|
199
|
+
"LAVENDER": {'description': 'Lavender', 'meaning': 'HEX:E6E6FA', 'annotations': {'rgb': '230,230,250'}},
|
|
200
|
+
"THISTLE": {'description': 'Thistle', 'meaning': 'HEX:D8BFD8', 'annotations': {'rgb': '216,191,216'}},
|
|
201
|
+
"PLUM": {'description': 'Plum', 'meaning': 'HEX:DDA0DD', 'annotations': {'rgb': '221,160,221'}},
|
|
202
|
+
"VIOLET": {'description': 'Violet', 'meaning': 'HEX:EE82EE', 'annotations': {'rgb': '238,130,238'}},
|
|
203
|
+
"ORCHID": {'description': 'Orchid', 'meaning': 'HEX:DA70D6', 'annotations': {'rgb': '218,112,214'}},
|
|
204
|
+
"FUCHSIA": {'description': 'Fuchsia', 'meaning': 'HEX:FF00FF', 'annotations': {'rgb': '255,0,255'}},
|
|
205
|
+
"MEDIUM_ORCHID": {'description': 'Medium orchid', 'meaning': 'HEX:BA55D3', 'annotations': {'rgb': '186,85,211'}},
|
|
206
|
+
"MEDIUM_PURPLE": {'description': 'Medium purple', 'meaning': 'HEX:9370DB', 'annotations': {'rgb': '147,112,219'}},
|
|
207
|
+
"BLUE_VIOLET": {'description': 'Blue violet', 'meaning': 'HEX:8A2BE2', 'annotations': {'rgb': '138,43,226'}},
|
|
208
|
+
"DARK_VIOLET": {'description': 'Dark violet', 'meaning': 'HEX:9400D3', 'annotations': {'rgb': '148,0,211'}},
|
|
209
|
+
"DARK_ORCHID": {'description': 'Dark orchid', 'meaning': 'HEX:9932CC', 'annotations': {'rgb': '153,50,204'}},
|
|
210
|
+
"DARK_MAGENTA": {'description': 'Dark magenta', 'meaning': 'HEX:8B008B', 'annotations': {'rgb': '139,0,139'}},
|
|
211
|
+
"INDIGO": {'description': 'Indigo', 'meaning': 'HEX:4B0082', 'annotations': {'rgb': '75,0,130'}},
|
|
212
|
+
"GREEN_YELLOW": {'description': 'Green yellow', 'meaning': 'HEX:ADFF2F', 'annotations': {'rgb': '173,255,47'}},
|
|
213
|
+
"CHARTREUSE": {'description': 'Chartreuse', 'meaning': 'HEX:7FFF00', 'annotations': {'rgb': '127,255,0'}},
|
|
214
|
+
"LAWN_GREEN": {'description': 'Lawn green', 'meaning': 'HEX:7CFC00', 'annotations': {'rgb': '124,252,0'}},
|
|
215
|
+
"LIME": {'description': 'Lime', 'meaning': 'HEX:00FF00', 'annotations': {'rgb': '0,255,0'}},
|
|
216
|
+
"LIME_GREEN": {'description': 'Lime green', 'meaning': 'HEX:32CD32', 'annotations': {'rgb': '50,205,50'}},
|
|
217
|
+
"PALE_GREEN": {'description': 'Pale green', 'meaning': 'HEX:98FB98', 'annotations': {'rgb': '152,251,152'}},
|
|
218
|
+
"LIGHT_GREEN": {'description': 'Light green', 'meaning': 'HEX:90EE90', 'annotations': {'rgb': '144,238,144'}},
|
|
219
|
+
"MEDIUM_SPRING_GREEN": {'description': 'Medium spring green', 'meaning': 'HEX:00FA9A', 'annotations': {'rgb': '0,250,154'}},
|
|
220
|
+
"SPRING_GREEN": {'description': 'Spring green', 'meaning': 'HEX:00FF7F', 'annotations': {'rgb': '0,255,127'}},
|
|
221
|
+
"MEDIUM_SEA_GREEN": {'description': 'Medium sea green', 'meaning': 'HEX:3CB371', 'annotations': {'rgb': '60,179,113'}},
|
|
222
|
+
"SEA_GREEN": {'description': 'Sea green', 'meaning': 'HEX:2E8B57', 'annotations': {'rgb': '46,139,87'}},
|
|
223
|
+
"FOREST_GREEN": {'description': 'Forest green', 'meaning': 'HEX:228B22', 'annotations': {'rgb': '34,139,34'}},
|
|
224
|
+
"DARK_GREEN": {'description': 'Dark green', 'meaning': 'HEX:006400', 'annotations': {'rgb': '0,100,0'}},
|
|
225
|
+
"YELLOW_GREEN": {'description': 'Yellow green', 'meaning': 'HEX:9ACD32', 'annotations': {'rgb': '154,205,50'}},
|
|
226
|
+
"OLIVE_DRAB": {'description': 'Olive drab', 'meaning': 'HEX:6B8E23', 'annotations': {'rgb': '107,142,35'}},
|
|
227
|
+
"OLIVE": {'description': 'Olive', 'meaning': 'HEX:808000', 'annotations': {'rgb': '128,128,0'}},
|
|
228
|
+
"DARK_OLIVE_GREEN": {'description': 'Dark olive green', 'meaning': 'HEX:556B2F', 'annotations': {'rgb': '85,107,47'}},
|
|
229
|
+
"AQUA": {'description': 'Aqua', 'meaning': 'HEX:00FFFF', 'annotations': {'rgb': '0,255,255'}},
|
|
230
|
+
"CYAN": {'description': 'Cyan', 'meaning': 'HEX:00FFFF', 'annotations': {'rgb': '0,255,255'}},
|
|
231
|
+
"LIGHT_CYAN": {'description': 'Light cyan', 'meaning': 'HEX:E0FFFF', 'annotations': {'rgb': '224,255,255'}},
|
|
232
|
+
"PALE_TURQUOISE": {'description': 'Pale turquoise', 'meaning': 'HEX:AFEEEE', 'annotations': {'rgb': '175,238,238'}},
|
|
233
|
+
"AQUAMARINE": {'description': 'Aquamarine', 'meaning': 'HEX:7FFFD4', 'annotations': {'rgb': '127,255,212'}},
|
|
234
|
+
"TURQUOISE": {'description': 'Turquoise', 'meaning': 'HEX:40E0D0', 'annotations': {'rgb': '64,224,208'}},
|
|
235
|
+
"MEDIUM_TURQUOISE": {'description': 'Medium turquoise', 'meaning': 'HEX:48D1CC', 'annotations': {'rgb': '72,209,204'}},
|
|
236
|
+
"DARK_TURQUOISE": {'description': 'Dark turquoise', 'meaning': 'HEX:00CED1', 'annotations': {'rgb': '0,206,209'}},
|
|
237
|
+
"LIGHT_SEA_GREEN": {'description': 'Light sea green', 'meaning': 'HEX:20B2AA', 'annotations': {'rgb': '32,178,170'}},
|
|
238
|
+
"CADET_BLUE": {'description': 'Cadet blue', 'meaning': 'HEX:5F9EA0', 'annotations': {'rgb': '95,158,160'}},
|
|
239
|
+
"DARK_CYAN": {'description': 'Dark cyan', 'meaning': 'HEX:008B8B', 'annotations': {'rgb': '0,139,139'}},
|
|
240
|
+
"TEAL": {'description': 'Teal', 'meaning': 'HEX:008080', 'annotations': {'rgb': '0,128,128'}},
|
|
241
|
+
"LIGHT_STEEL_BLUE": {'description': 'Light steel blue', 'meaning': 'HEX:B0C4DE', 'annotations': {'rgb': '176,196,222'}},
|
|
242
|
+
"POWDER_BLUE": {'description': 'Powder blue', 'meaning': 'HEX:B0E0E6', 'annotations': {'rgb': '176,224,230'}},
|
|
243
|
+
"LIGHT_BLUE": {'description': 'Light blue', 'meaning': 'HEX:ADD8E6', 'annotations': {'rgb': '173,216,230'}},
|
|
244
|
+
"SKY_BLUE": {'description': 'Sky blue', 'meaning': 'HEX:87CEEB', 'annotations': {'rgb': '135,206,235'}},
|
|
245
|
+
"LIGHT_SKY_BLUE": {'description': 'Light sky blue', 'meaning': 'HEX:87CEFA', 'annotations': {'rgb': '135,206,250'}},
|
|
246
|
+
"DEEP_SKY_BLUE": {'description': 'Deep sky blue', 'meaning': 'HEX:00BFFF', 'annotations': {'rgb': '0,191,255'}},
|
|
247
|
+
"DODGER_BLUE": {'description': 'Dodger blue', 'meaning': 'HEX:1E90FF', 'annotations': {'rgb': '30,144,255'}},
|
|
248
|
+
"CORNFLOWER_BLUE": {'description': 'Cornflower blue', 'meaning': 'HEX:6495ED', 'annotations': {'rgb': '100,149,237'}},
|
|
249
|
+
"STEEL_BLUE": {'description': 'Steel blue', 'meaning': 'HEX:4682B4', 'annotations': {'rgb': '70,130,180'}},
|
|
250
|
+
"ROYAL_BLUE": {'description': 'Royal blue', 'meaning': 'HEX:4169E1', 'annotations': {'rgb': '65,105,225'}},
|
|
251
|
+
"MEDIUM_BLUE": {'description': 'Medium blue', 'meaning': 'HEX:0000CD', 'annotations': {'rgb': '0,0,205'}},
|
|
252
|
+
"DARK_BLUE": {'description': 'Dark blue', 'meaning': 'HEX:00008B', 'annotations': {'rgb': '0,0,139'}},
|
|
253
|
+
"NAVY": {'description': 'Navy', 'meaning': 'HEX:000080', 'annotations': {'rgb': '0,0,128'}},
|
|
254
|
+
"MIDNIGHT_BLUE": {'description': 'Midnight blue', 'meaning': 'HEX:191970', 'annotations': {'rgb': '25,25,112'}},
|
|
255
|
+
"CORNSILK": {'description': 'Cornsilk', 'meaning': 'HEX:FFF8DC', 'annotations': {'rgb': '255,248,220'}},
|
|
256
|
+
"BLANCHED_ALMOND": {'description': 'Blanched almond', 'meaning': 'HEX:FFEBCD', 'annotations': {'rgb': '255,235,205'}},
|
|
257
|
+
"BISQUE": {'description': 'Bisque', 'meaning': 'HEX:FFE4C4', 'annotations': {'rgb': '255,228,196'}},
|
|
258
|
+
"NAVAJO_WHITE": {'description': 'Navajo white', 'meaning': 'HEX:FFDEAD', 'annotations': {'rgb': '255,222,173'}},
|
|
259
|
+
"WHEAT": {'description': 'Wheat', 'meaning': 'HEX:F5DEB3', 'annotations': {'rgb': '245,222,179'}},
|
|
260
|
+
"BURLYWOOD": {'description': 'Burlywood', 'meaning': 'HEX:DEB887', 'annotations': {'rgb': '222,184,135'}},
|
|
261
|
+
"TAN": {'description': 'Tan', 'meaning': 'HEX:D2B48C', 'annotations': {'rgb': '210,180,140'}},
|
|
262
|
+
"ROSY_BROWN": {'description': 'Rosy brown', 'meaning': 'HEX:BC8F8F', 'annotations': {'rgb': '188,143,143'}},
|
|
263
|
+
"SANDY_BROWN": {'description': 'Sandy brown', 'meaning': 'HEX:F4A460', 'annotations': {'rgb': '244,164,96'}},
|
|
264
|
+
"GOLDENROD": {'description': 'Goldenrod', 'meaning': 'HEX:DAA520', 'annotations': {'rgb': '218,165,32'}},
|
|
265
|
+
"DARK_GOLDENROD": {'description': 'Dark goldenrod', 'meaning': 'HEX:B8860B', 'annotations': {'rgb': '184,134,11'}},
|
|
266
|
+
"PERU": {'description': 'Peru', 'meaning': 'HEX:CD853F', 'annotations': {'rgb': '205,133,63'}},
|
|
267
|
+
"CHOCOLATE": {'description': 'Chocolate', 'meaning': 'HEX:D2691E', 'annotations': {'rgb': '210,105,30'}},
|
|
268
|
+
"SADDLE_BROWN": {'description': 'Saddle brown', 'meaning': 'HEX:8B4513', 'annotations': {'rgb': '139,69,19'}},
|
|
269
|
+
"SIENNA": {'description': 'Sienna', 'meaning': 'HEX:A0522D', 'annotations': {'rgb': '160,82,45'}},
|
|
270
|
+
"MAROON": {'description': 'Maroon', 'meaning': 'HEX:800000', 'annotations': {'rgb': '128,0,0'}},
|
|
271
|
+
"SNOW": {'description': 'Snow', 'meaning': 'HEX:FFFAFA', 'annotations': {'rgb': '255,250,250'}},
|
|
272
|
+
"HONEYDEW": {'description': 'Honeydew', 'meaning': 'HEX:F0FFF0', 'annotations': {'rgb': '240,255,240'}},
|
|
273
|
+
"MINT_CREAM": {'description': 'Mint cream', 'meaning': 'HEX:F5FFFA', 'annotations': {'rgb': '245,255,250'}},
|
|
274
|
+
"AZURE": {'description': 'Azure', 'meaning': 'HEX:F0FFFF', 'annotations': {'rgb': '240,255,255'}},
|
|
275
|
+
"ALICE_BLUE": {'description': 'Alice blue', 'meaning': 'HEX:F0F8FF', 'annotations': {'rgb': '240,248,255'}},
|
|
276
|
+
"GHOST_WHITE": {'description': 'Ghost white', 'meaning': 'HEX:F8F8FF', 'annotations': {'rgb': '248,248,255'}},
|
|
277
|
+
"WHITE_SMOKE": {'description': 'White smoke', 'meaning': 'HEX:F5F5F5', 'annotations': {'rgb': '245,245,245'}},
|
|
278
|
+
"SEASHELL": {'description': 'Seashell', 'meaning': 'HEX:FFF5EE', 'annotations': {'rgb': '255,245,238'}},
|
|
279
|
+
"BEIGE": {'description': 'Beige', 'meaning': 'HEX:F5F5DC', 'annotations': {'rgb': '245,245,220'}},
|
|
280
|
+
"OLD_LACE": {'description': 'Old lace', 'meaning': 'HEX:FDF5E6', 'annotations': {'rgb': '253,245,230'}},
|
|
281
|
+
"FLORAL_WHITE": {'description': 'Floral white', 'meaning': 'HEX:FFFAF0', 'annotations': {'rgb': '255,250,240'}},
|
|
282
|
+
"IVORY": {'description': 'Ivory', 'meaning': 'HEX:FFFFF0', 'annotations': {'rgb': '255,255,240'}},
|
|
283
|
+
"ANTIQUE_WHITE": {'description': 'Antique white', 'meaning': 'HEX:FAEBD7', 'annotations': {'rgb': '250,235,215'}},
|
|
284
|
+
"LINEN": {'description': 'Linen', 'meaning': 'HEX:FAF0E6', 'annotations': {'rgb': '250,240,230'}},
|
|
285
|
+
"LAVENDER_BLUSH": {'description': 'Lavender blush', 'meaning': 'HEX:FFF0F5', 'annotations': {'rgb': '255,240,245'}},
|
|
286
|
+
"MISTY_ROSE": {'description': 'Misty rose', 'meaning': 'HEX:FFE4E1', 'annotations': {'rgb': '255,228,225'}},
|
|
287
|
+
"GAINSBORO": {'description': 'Gainsboro', 'meaning': 'HEX:DCDCDC', 'annotations': {'rgb': '220,220,220'}},
|
|
288
|
+
"LIGHT_GRAY": {'description': 'Light gray', 'meaning': 'HEX:D3D3D3', 'annotations': {'rgb': '211,211,211'}},
|
|
289
|
+
"SILVER": {'description': 'Silver', 'meaning': 'HEX:C0C0C0', 'annotations': {'rgb': '192,192,192'}},
|
|
290
|
+
"DARK_GRAY": {'description': 'Dark gray', 'meaning': 'HEX:A9A9A9', 'annotations': {'rgb': '169,169,169'}},
|
|
291
|
+
"DIM_GRAY": {'description': 'Dim gray', 'meaning': 'HEX:696969', 'annotations': {'rgb': '105,105,105'}},
|
|
292
|
+
"LIGHT_SLATE_GRAY": {'description': 'Light slate gray', 'meaning': 'HEX:778899', 'annotations': {'rgb': '119,136,153'}},
|
|
293
|
+
"SLATE_GRAY": {'description': 'Slate gray', 'meaning': 'HEX:708090', 'annotations': {'rgb': '112,128,144'}},
|
|
294
|
+
"DARK_SLATE_GRAY": {'description': 'Dark slate gray', 'meaning': 'HEX:2F4F4F', 'annotations': {'rgb': '47,79,79'}},
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
class X11ColorEnum(RichEnum):
|
|
298
|
+
"""
|
|
299
|
+
X11/Unix system colors (extended set)
|
|
300
|
+
"""
|
|
301
|
+
# Enum members
|
|
302
|
+
X11_AQUA = "X11_AQUA"
|
|
303
|
+
X11_GRAY0 = "X11_GRAY0"
|
|
304
|
+
X11_GRAY25 = "X11_GRAY25"
|
|
305
|
+
X11_GRAY50 = "X11_GRAY50"
|
|
306
|
+
X11_GRAY75 = "X11_GRAY75"
|
|
307
|
+
X11_GRAY100 = "X11_GRAY100"
|
|
308
|
+
X11_GREEN1 = "X11_GREEN1"
|
|
309
|
+
X11_GREEN2 = "X11_GREEN2"
|
|
310
|
+
X11_GREEN3 = "X11_GREEN3"
|
|
311
|
+
X11_GREEN4 = "X11_GREEN4"
|
|
312
|
+
X11_BLUE1 = "X11_BLUE1"
|
|
313
|
+
X11_BLUE2 = "X11_BLUE2"
|
|
314
|
+
X11_BLUE3 = "X11_BLUE3"
|
|
315
|
+
X11_BLUE4 = "X11_BLUE4"
|
|
316
|
+
X11_RED1 = "X11_RED1"
|
|
317
|
+
X11_RED2 = "X11_RED2"
|
|
318
|
+
X11_RED3 = "X11_RED3"
|
|
319
|
+
X11_RED4 = "X11_RED4"
|
|
320
|
+
|
|
321
|
+
# Set metadata after class creation
|
|
322
|
+
X11ColorEnum._metadata = {
|
|
323
|
+
"X11_AQUA": {'description': 'X11 Aqua', 'meaning': 'HEX:00FFFF'},
|
|
324
|
+
"X11_GRAY0": {'description': 'X11 Gray 0 (black)', 'meaning': 'HEX:000000'},
|
|
325
|
+
"X11_GRAY25": {'description': 'X11 Gray 25%', 'meaning': 'HEX:404040'},
|
|
326
|
+
"X11_GRAY50": {'description': 'X11 Gray 50%', 'meaning': 'HEX:808080'},
|
|
327
|
+
"X11_GRAY75": {'description': 'X11 Gray 75%', 'meaning': 'HEX:BFBFBF'},
|
|
328
|
+
"X11_GRAY100": {'description': 'X11 Gray 100 (white)', 'meaning': 'HEX:FFFFFF'},
|
|
329
|
+
"X11_GREEN1": {'description': 'X11 Green 1', 'meaning': 'HEX:00FF00'},
|
|
330
|
+
"X11_GREEN2": {'description': 'X11 Green 2', 'meaning': 'HEX:00EE00'},
|
|
331
|
+
"X11_GREEN3": {'description': 'X11 Green 3', 'meaning': 'HEX:00CD00'},
|
|
332
|
+
"X11_GREEN4": {'description': 'X11 Green 4', 'meaning': 'HEX:008B00'},
|
|
333
|
+
"X11_BLUE1": {'description': 'X11 Blue 1', 'meaning': 'HEX:0000FF'},
|
|
334
|
+
"X11_BLUE2": {'description': 'X11 Blue 2', 'meaning': 'HEX:0000EE'},
|
|
335
|
+
"X11_BLUE3": {'description': 'X11 Blue 3', 'meaning': 'HEX:0000CD'},
|
|
336
|
+
"X11_BLUE4": {'description': 'X11 Blue 4', 'meaning': 'HEX:00008B'},
|
|
337
|
+
"X11_RED1": {'description': 'X11 Red 1', 'meaning': 'HEX:FF0000'},
|
|
338
|
+
"X11_RED2": {'description': 'X11 Red 2', 'meaning': 'HEX:EE0000'},
|
|
339
|
+
"X11_RED3": {'description': 'X11 Red 3', 'meaning': 'HEX:CD0000'},
|
|
340
|
+
"X11_RED4": {'description': 'X11 Red 4', 'meaning': 'HEX:8B0000'},
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
class ColorSpaceEnum(RichEnum):
|
|
344
|
+
"""
|
|
345
|
+
Color space and model types
|
|
346
|
+
"""
|
|
347
|
+
# Enum members
|
|
348
|
+
RGB = "RGB"
|
|
349
|
+
CMYK = "CMYK"
|
|
350
|
+
HSL = "HSL"
|
|
351
|
+
HSV = "HSV"
|
|
352
|
+
LAB = "LAB"
|
|
353
|
+
PANTONE = "PANTONE"
|
|
354
|
+
RAL = "RAL"
|
|
355
|
+
NCS = "NCS"
|
|
356
|
+
MUNSELL = "MUNSELL"
|
|
357
|
+
|
|
358
|
+
# Set metadata after class creation
|
|
359
|
+
ColorSpaceEnum._metadata = {
|
|
360
|
+
"RGB": {'description': 'Red Green Blue color model'},
|
|
361
|
+
"CMYK": {'description': 'Cyan Magenta Yellow Key (black) color model'},
|
|
362
|
+
"HSL": {'description': 'Hue Saturation Lightness color model'},
|
|
363
|
+
"HSV": {'description': 'Hue Saturation Value color model'},
|
|
364
|
+
"LAB": {'description': 'CIELAB color space'},
|
|
365
|
+
"PANTONE": {'description': 'Pantone Matching System'},
|
|
366
|
+
"RAL": {'description': 'RAL color standard'},
|
|
367
|
+
"NCS": {'description': 'Natural Color System'},
|
|
368
|
+
"MUNSELL": {'description': 'Munsell color system'},
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
__all__ = [
|
|
372
|
+
"BasicColorEnum",
|
|
373
|
+
"WebColorEnum",
|
|
374
|
+
"X11ColorEnum",
|
|
375
|
+
"ColorSpaceEnum",
|
|
376
|
+
]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"""Custom generators for the valuesets project."""
|
|
2
|
+
|
|
3
|
+
from .enhanced_pydantic_generator import (
|
|
4
|
+
EnhancedPydanticGenerator,
|
|
5
|
+
EnhancedEnumValue,
|
|
6
|
+
generate_enhanced_pydantic
|
|
7
|
+
)
|
|
8
|
+
from .rich_enum import RichEnum, RichEnumMeta, RichEnumType
|
|
9
|
+
from .rich_pydantic_generator import RichPydanticGenerator
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
'EnhancedPydanticGenerator',
|
|
13
|
+
'EnhancedEnumValue',
|
|
14
|
+
'generate_enhanced_pydantic',
|
|
15
|
+
'RichEnum',
|
|
16
|
+
'RichEnumMeta',
|
|
17
|
+
'RichEnumType',
|
|
18
|
+
'RichPydanticGenerator'
|
|
19
|
+
]
|