How manjunadh-velpuri/palettelab-color-studio works
PaletteLab is a browser-based color studio: users enter or extract colors, adjust and organize them, view palettes in different formats, and export artwork. The graph shows the web entry point and the documented feature branches, plus color math, rendering, naming, and UI composition. Several route and component implementations were not excerpted, so some links rely on README descriptions or the entry-point reference list; unsampled behavior is not inferred beyond those references.
Main entry points: index.py Web entry and routes · color_utils.py Color conversion math · exporter.py PNG and SVG export · renderer.py Palette layout renderer
Components 15
Web application
- Web entry and routes
api/index.py - Palette session state
api/index.py - Workspace components
web_ui/components - Theme loading
web_ui/theme_loader.py
Color input
- Text color parsers
core_logic/parsers - Photo extraction
core_logic/extraction/photo_extractor.py
Palette tools
- Palette generation
core_logic/generatePalette/palette_generator.py - Color naming matcher
core_logic/generatePalette/color_matcher.py - Shade and tint tools
core_logic/core/color_utils.py
Display and export
- Format conversion table
web_ui/components/conversion_table.py - Palette layout renderer
core_logic/core/renderer.py - PNG and SVG export
core_logic/core/exporter.py
Color foundation
- Color conversion math
core_logic/core/color_utils.py - Color name database
core_logic/generatePalette/colors.db
Other components
- Designer
Connections 19
- Designer → Web entry and routes: uses
README.md - Web entry and routes → Workspace components: renders
api/index.py - Web entry and routes → Palette session state: updates
api/index.py - Web entry and routes → Text color parsers: extracts text colors
api/index.py - Web entry and routes → Photo extraction: extracts photo colors
api/index.py - Web entry and routes → Palette generation: generates palettes
api/index.py - Web entry and routes → Shade and tint tools: tweaks colors
README.md - Web entry and routes → Format conversion table: shows conversions
api/index.py - Web entry and routes → Palette layout renderer: renders preview
api/index.py - Web entry and routes → PNG and SVG export: exports palette
api/index.py - Workspace components → Theme loading: loads theme
web_ui/components/layout.py - Text color parsers → Color conversion math: converts formats
core_logic/parsers/cmyk_parser.py - Photo extraction → Color conversion math: converts colors
core_logic/extraction/photo_extractor.py - Palette generation → Color naming matcher: names colors
core_logic/generatePalette/palette_generator.py - Color naming matcher → Color name database: queries
core_logic/generatePalette/color_matcher.py - Palette layout renderer → Color conversion math: uses color math
core_logic/core/renderer.py - PNG and SVG export → Palette layout renderer: renders artwork
core_logic/core/exporter.py - PNG and SVG export → Color conversion math: uses color math
core_logic/core/exporter.py - Format conversion table → Color conversion math: converts formats
web_ui/components/conversion_table.py