Advanced Camera Color Picker & AI Design Assistant
Drag, match, save, and get AI design tips in real-time
A beautiful, glassmorphic Flutter application that lets you capture real-world colors using your live camera or photo gallery, instantly matches them to a comprehensive Asian Paints database, and provides AI-powered interior design suggestions.
- Live Camera Picking: Drag a precision crosshair over the live camera feed to sample colors in real-time.
- Gallery Support: Import images from your device to extract colors from existing photos.
- Asian Paints Database: Instantly matches sampled RGB values to the closest official Asian Paints color name (Melange, Brights, and Whites).
- AI Design Assistant: Get instant, professional, emoji-free interior design tips, complementary color suggestions, and lighting advice tailored to your selected color.
- Glassmorphism UI: Modern, frosted-glass interface with smooth animations and transparent overlays.
- Rich Haptic Feedback: Tactile vibrations on every interaction (button taps, crosshair dragging, saving, and deleting).
- Persistent History: Automatically saves your captured colors, HEX, RGB, and timestamps locally.
- Freeze Frame: Pause the live camera feed to accurately pick colors from a still frame.
Follow these simple steps to run the project locally:
- Install Flutter SDK
- Install Git
git clone https://github.com/Dhvani30/color_picker.git
cd color_pickerflutter pub get- Create a file named
.envin the root directory (same level aspubspec.yaml). - Add your free OpenRouter API key:
OPENROUTER_API_KEY=your_api_key_here
- Ensure
.envis listed in your.gitignoreto keep your key secure.
flutter run(Optional) To regenerate the app icons after adding your own assets/logo.png:
dart run flutter_launcher_iconsWant to try the app without building it from source? You can download and install the APK directly on your Android device!
- Latest Release: Download ColorPicker APK (Recommended)
- Local Build Path: If you cloned the repo and built it yourself, the APK is located at:
build/app/outputs/flutter-apk/app-release.apk
Note: When installing the APK on your Android device, you may need to enable "Install from Unknown Sources" in your device settings.
- Grant Permissions: Allow camera access when prompted on first launch.
- Pick a Color: Drag the
+crosshair over any object in the live camera view or imported gallery image. - View Details: The top-right glass panel will instantly display the closest Asian Paints color name, HEX code, and RGB values.
- Get AI Tips: Tap the ✨ button to receive professional, emoji-free interior design suggestions tailored to your selected color.
- Save: Tap the
Saveicon to store the color in your persistent history sheet (complete with date and time). - Manage History: Tap any saved color in the bottom sheet to reload it, or long-press to delete it.
Contributions, issues, and feature requests are highly welcome!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
🌟 Show Your Support
If you found this project helpful or interesting, please consider giving it a Star on GitHub!
It helps the project grow, improves its search visibility, and motivates further development.
Built with ❤️ by Dhvani
