ColorPal Color Studio is an advanced AI-powered color palette generator designed to transform business ideas and brand concepts into cohesive, psychologically effective color schemes. The application integrates AI capabilities with color theory principles to deliver professional-grade palettes that communicate brand values and evoke specific emotional responses from target audiences.
Traditional color selection tools fail to account for industry-specific standards, psychological impact, and brand context. ColorPal Color Studio bridges this gap by implementing AI models that analyze these factors to generate contextual, meaningful color palettes that directly connect with business objectives and target demographics.
- AI-Powered Color Generation: Transform text descriptions into harmonious color palettes with Claude AI
- Learning System: Adapts to preferences through feedback for personalized results
- Color Psychology Analysis: Maps colors to emotional responses and industry contexts
- Color Theory Visualization: Interactive displays of color relationships and harmonies
- Accessibility Scoring: WCAG compliance checking for generated color schemes
- Image Extraction: Generate palettes from uploaded images
- Save & Export: Store favorite palettes for future reference
- Smooth, Interactive UI: Polished user experience with animations and responsive design
- Color Naming: Intelligent naming based on color properties and industry standards
- React: Component-based UI architecture
- CSS3: Advanced animations, transitions, and responsive design
- JavaScript (ES6+): Modern JS for interactive features
- Node.js: JavaScript runtime environment
- Express: Web application framework
- RESTful API: For communication between client and server
- Claude AI: For natural language processing and color generation
- Custom Learning System: Self-improving algorithm for color preferences
- Color Theory Algorithms: Mathematical models for color harmonies and relationships
- Git: Version control for collaborative development
- npm: Package management
- Webpack: Module bundling
- ESLint: Code quality control
-
Clone the repository
git clone https://github.com/PkTaz/color-palette-ai.git cd color-palette-ai -
Install dependencies for frontend
npm install
-
Install dependencies for backend
cd backend npm install cd ..
-
Set up environment variables
- Create a
.envfile in the backend directory - Add required API keys and configuration variables:
PORT=5000 CLAUDE_API_KEY=your_claude_api_key_here NODE_ENV=development - Create a
-
Start the development servers
# Start backend server cd backend npm start # In another terminal, start frontend cd .. npm start
-
Access the application
- Open your browser and navigate to
http://localhost:3000
- Open your browser and navigate to
The heart of ColorPal Color Studio is its sophisticated learning system that:
- Captures User Feedback: Records user likes/dislikes on generated palettes
- Identifies Patterns: Analyzes color combinations that receive positive feedback
- Adjusts Weights: Updates internal weighting system for future generations
- Contextual Awareness: Considers industry and demographic factors
- Progressive Enhancement: Continuously improves with more user interaction
// Simplified snippet of the adaptive learning system
class ColorLearningSystem {
// Records user preferences for future reference
recordFeedback(colors, isPositive) {
const patternKey = this.getPatternKey(colors);
// Update weights based on user feedback
this.updateWeights(patternKey, isPositive);
}
// Generate palettes influenced by past preferences
generatePalette(baseColor, context) {
const relevantPatterns = this.getRelevantPatterns(context);
return this.applyPatterns(baseColor, relevantPatterns);
}
}The application implements advanced color theory principles:
- Complementary: Colors opposite on the color wheel
- Analogous: Colors adjacent on the color wheel
- Triadic: Colors evenly spaced around the color wheel
- Split-Complementary: A base color and two colors adjacent to its complement
- Tetradic: Four colors arranged in two complementary pairs
Claude AI is integrated for:
- Natural Language Processing: Understanding business descriptions
- Context Extraction: Identifying industry, mood, and target audience
- Color Mapping: Translating concepts to appropriate color values
- Description Generation: Creating meaningful explanations for generated palettes
The project followed an iterative development approach with multiple rounds of:
- Prototype: Initial concepts and wireframes
- Implementation: Development of key features
- Testing: User testing and feedback collection
- Refinement: Improvements based on insights
- AI Integration: Creating a reliable communication layer between the frontend and Claude AI
- Color Theory Algorithms: Implementing mathematically accurate color transformations
- Learning System: Developing a system that improves with user interaction without explicit training
- Performance Optimization: Ensuring smooth animations and transitions even with complex calculations
- Responsive Design: Creating a consistent experience across all device sizes
- Advanced Color Extraction: More sophisticated image analysis for palette generation
- Export Options: Additional format support for design software integration
- Collaboration Features: Team workspaces for design collaboration
- Industry Templates: Pre-configured settings for common business categories
- Accessibility Expansion: More comprehensive accessibility tools and guidance
- 3D Color Space Visualization: Interactive 3D representations of color relationships
This project is licensed under the MIT License - see the LICENSE file for details.
Developed by William Chapman as a demonstration of full-stack development skills, AI integration capabilities, and UI/UX design principles.
Made with ❤️ using React, Node.js, and Claude AI
