A lightweight, single-page web tool that lets you pick any color and instantly retrieve the corresponding PyBullet RGBA array.
Try it out live on GitHub Pages:
https://GitWyd.github.io/colorpicker/
- 🎨 Real‑time RGBA Conversion: Pick a color and alpha value; the tool automatically computes
[r, g, b, a]floats in the range [0, 1]. - 📋 One‑click Copy: Copy the RGBA string to your clipboard with a single click.
- 🌗 Dark & Light Modes: Automatically matches your system theme via
prefers-color-scheme. - 📱 Responsive UI: Mobile‑style card layout that scales smoothly across screen sizes.
- 🖥️ Single File: Contains all HTML, CSS, and JavaScript in one
index.html—no dependencies.
- Clone or download this repository.
- Open
index.htmlin any modern browser (Chrome, Firefox, Safari, Edge). - Choose your desired color and opacity.
- Click Copy RGBA to grab the
[r, g, b, a]string for PyBullet.
No installation required. Just host the single index.html on any static server or GitHub Pages.
If you’d like to customize or contribute:
- Fork this repo and create a feature branch (
git checkout -b feature/foo). - Commit your changes (
git commit -am 'Add some foo'). - Push to the branch (
git push origin feature/foo). - Open a Pull Request.
This project is released under the CC0 1.0 Universal License. See LICENSE for details.