A Chrome Extension that allows you to dynamically change the background color of any website using a beautiful color palatte style color picker.
- 🎨 VS Code-inspired Color Picker: Beautiful, modern UI with a color wheel and sidebar
- 🌈 Interactive Color Wheel: Click and drag to select any color
- 📋 Color Presets: Quick access to common colors
- 💻 Hex & RGB Input: Manual color input with live preview
- 🔄 Reset Functionality: Restore original background color
- ✨ Smooth Animations: Polished user experience
-
Download or Clone this repository to your local machine
-
Open Chrome Extensions Page:
- Open Google Chrome
- Navigate to
chrome://extensions/ - Or go to Menu (⋮) → More Tools → Extensions
-
Enable Developer Mode:
- Toggle the "Developer mode" switch in the top-right corner
-
Load the Extension:
- Click "Load unpacked"
- Select the folder containing this extension
- The extension should now appear in your extensions list
-
Optional - Add Icons:
- Create three icon files:
icon16.png,icon48.png, andicon128.png - Place them in the extension folder
- Or remove the
iconssection frommanifest.jsonif you don't have icons
- Create three icon files:
-
Navigate to any website you want to modify
-
Open the Color Picker:
- Click the extension icon in the Chrome toolbar
- Or use the keyboard shortcut (if configured)
-
Select a Color:
- Color Wheel: Click and drag on the circular color wheel
- Presets: Click any preset color in the sidebar
- Hex Input: Type a hex color code (e.g.,
#ff6b6b)
-
Apply the Color:
- Click the "Apply" button to change the website background
- Click "Reset" to restore the original background
- Click "×" to close the color picker
Chrome Extension/
├── manifest.json # Extension configuration
├── background.js # Service worker for extension icon click
├── content.js # Main script with color picker logic
├── color-picker.css # Styles for the color picker UI
└── README.md # This file
- Content Script: Injected into every webpage to add the color picker functionality
- Color Wheel: Renders a full-spectrum color wheel using HTML5 Canvas
- Background Script: Handles the extension icon click to toggle the color picker
- DOM Manipulation: Applies the selected color directly to the website's body element
You can customize the extension by:
- Adding more preset colors: Edit the
preset-colorssection incontent.js - Changing the UI theme: Modify colors in
color-picker.css - Adjusting the color wheel size: Change the canvas size in
content.js
- Chrome (Manifest V3)
- Edge (Chromium-based)
- Other Chromium-based browsers
- The background color change is temporary and only affects the current page
- Refreshing the page will restore the original background
- Some websites with complex CSS might override the background color
Free to use and modify for personal or commercial projects.
Passionate Learner | Aspiring Developer | Python Enthusiast