PalettePick is a Chrome extension that enhances your browsing experience by detecting and highlighting color strings directly on web pages. Whether it's CSS color names, hex codes, RGB, RGBA, HSL, or HSLA, the extension highlights these colors with their actual hues.
You can also interact with these highlighted colors to transform them into different formats. Additionally, the extension includes a built-in color picker that allows you to select and save colors from any webpage and even generates palettes based on your selected colors.
-
Dynamic Color Highlighting: Detects and highlights color strings on webpages, including:
- CSS color names (e.g., "red", "blue")
- Hexadecimal codes (e.g., "#FF5733")
- RGB and RGBA (e.g., "rgb(255, 87, 51)", "rgba(255, 87, 51, 0.5)")
- HSL and HSLA (e.g., "hsl(10, 100%, 60%)", "hsla(10, 100%, 60%, 0.5)")
-
Interactive Color Conversion: Clicking on a highlighted color string cycles it through different formats:
- CSS Color Name
- RGB
- Hexadecimal
- HSL
- Back to the original format
-
Built-in Color Picker:
- Pick colors directly from any webpage.
- Save selected colors to the extension popup.
-
Palette Generation:
- Generate color palettes based on saved colors.
- Click on saved colors to view harmonious palettes.
PalettePick will soon support additional CSS color models, including:
-
HWB (Hue, Whiteness, Blackness):
-
hwb(12 50% 0%)
-
hwb(194 0% 0% / 0.5)
-
LAB (Lightness, A-axis, B-axis):
-
lab(50% 40 59.5)
-
lab(50% 40 59.5 / 0.5)
-
LCH (Lightness, Chroma, Hue):
-
lch(52.2% 72.2 50)
-
lch(52.2% 72.2 50 / 0.5)
-
Oklab (Lightness, A-axis, B-axis):
-
oklab(59% 0.1 0.1)
-
oklab(59% 0.1 0.1 / 0.5)
-
Oklch (Lightness, Chroma, Hue):
-
oklch(60% 0.15 50)
-
oklch(60% 0.15 50 / 0.5)
-
Relative CSS Colors:
-
hsl(from red 240deg s l)
-
hwb(from green h w b / 0.5)
-
lch(from blue calc(l + 20) c h)
- Clone the repository or download the zip file:
git clone https://github.com/ganemedelabs/palettepick.git
- Navigate to the project directory and run these commands to install dependencies and build the project:
npm install npm run build
- Open Chrome and go to
chrome://extensions/
. - Enable Developer Mode using the toggle in the top-right corner.
- Click Load Unpacked and select the
dist
folder. - PalettePick is now ready to use!
This project is licensed under the MIT License. See the LICENSE file for details.
For inquiries or more information, you can reach out to us at [email protected].
Icons used in this extension is by Freepik on Flaticon.