ChromaMind is an interactive web application that explores the psychological meaning of colors. Select a color to understand its emotional associations and discover matching colors for mood manipulation. Leverage AI to generate unique website color schemes based on a desired mood.
- Color Psychology Analysis: Select any color and instantly see its psychological and emotional associations.
- AI-Powered Mood Matcher: Generate color palettes tailored to a specific mood using AI.
- Color History: Track and revisit previously analyzed colors.
- Modern UI: Responsive, visually appealing interface built with React and Vite.
- Node.js (v16 or higher recommended)
- A Gemini API key (for AI-powered features)
- Clone the repository:
git clone <repo-url> cd chromamind_-ai-color-psychology
- Install dependencies:
npm install
- Set up environment variables:
- Create a
.env.localfile in the root directory. - Add your Gemini API key:
GEMINI_API_KEY=your_gemini_api_key_here
- Create a
- Run the development server:
The app will be available at http://localhost:5173.
npm run dev
To build the app for production:
npm run buildTo preview the production build:
npm run previewApp.tsx- Main application componentcomponents/- UI components (ColorPicker, ColorAnalysis, MoodMatcher, etc.)services/geminiService.ts- Handles AI requeststypes.ts- TypeScript type definitions
This project is for educational and demonstration purposes.
Feel free to contribute or suggest improvements!