Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 ColorPal Color Studio

React Node.js Express.js JavaScript CSS3 Claude AI

📋 Overview

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.

🌟 Key Problem Solved

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.

RepTools Color Studio Interface

✨ Features

  • 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

🛠️ Technology Stack

Frontend

  • React: Component-based UI architecture
  • CSS3: Advanced animations, transitions, and responsive design
  • JavaScript (ES6+): Modern JS for interactive features

Backend

  • Node.js: JavaScript runtime environment
  • Express: Web application framework
  • RESTful API: For communication between client and server

AI & Data Processing

  • 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

Development Tools

  • Git: Version control for collaborative development
  • npm: Package management
  • Webpack: Module bundling
  • ESLint: Code quality control

🚀 Installation & Setup

  1. Clone the repository

    git clone https://github.com/PkTaz/color-palette-ai.git
    cd color-palette-ai
  2. Install dependencies for frontend

    npm install
  3. Install dependencies for backend

    cd backend
    npm install
    cd ..
  4. Set up environment variables

    • Create a .env file in the backend directory
    • Add required API keys and configuration variables:
    PORT=5000
    CLAUDE_API_KEY=your_claude_api_key_here
    NODE_ENV=development
    
  5. Start the development servers

    # Start backend server
    cd backend
    npm start
    
    # In another terminal, start frontend
    cd ..
    npm start
  6. Access the application

    • Open your browser and navigate to http://localhost:3000

🧠 Architecture & Implementation

Color Learning System

The heart of ColorPal Color Studio is its sophisticated learning system that:

  1. Captures User Feedback: Records user likes/dislikes on generated palettes
  2. Identifies Patterns: Analyzes color combinations that receive positive feedback
  3. Adjusts Weights: Updates internal weighting system for future generations
  4. Contextual Awareness: Considers industry and demographic factors
  5. 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);
  }
}

Color Theory Implementation

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
Color Theory Visualization

AI Integration

Claude AI is integrated for:

  1. Natural Language Processing: Understanding business descriptions
  2. Context Extraction: Identifying industry, mood, and target audience
  3. Color Mapping: Translating concepts to appropriate color values
  4. Description Generation: Creating meaningful explanations for generated palettes

🔍 Development Process & Challenges Overcome

Iterative Development

The project followed an iterative development approach with multiple rounds of:

  1. Prototype: Initial concepts and wireframes
  2. Implementation: Development of key features
  3. Testing: User testing and feedback collection
  4. Refinement: Improvements based on insights

Key Challenges Solved

  • 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

🔮 Future Roadmap

  • 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

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

👤 About the Developer

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

About

An intelligent color palette generator that uses Claude AI to create harmonious color schemes based on natural language descriptions, color theory, and psychology of businesses and brands keywords to align with the right palette for your business.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages