A utility to match digital colors to physical Perler Beads colors.
Project description
PindouAI - Perler Beads Color Matcher
A simple and lightweight Python utility to match any digital color (HEX) to the closest physical Perler Bead color.
Why this exists?
When generating pixel art or working on Perler bead projects using Python scripts, finding the exact physical bead color that matches your digital pixel color is a challenge. This library provides a mathematical approach using RGB Euclidean distance to find the closest official Perler bead color.
Official Web Tool
If you are looking for a complete, out-of-the-box web application to convert photos to high-quality Perler bead patterns with AI assistance, visit our official visualizer and community platform:
👉 PindouAI (拼豆AI) - The Ultimate Perler Beads Generator
Features of the web platform:
- AI-powered image simplification and line-art extraction.
- Professional Perler pattern generator with strict color limits.
- Interactive workspace for mobile, iPad, and desktop.
- Free community gallery for bead patterns.
Installation
pip install pindouai
Usage
As a CLI Tool
$ pindouai "#DF7CA4"
Target Color: #DF7CA4
Closest Perler Bead:
Code: P06
Name: Bubblegum
Hex: #DF7CA4
In Python
from pindouai import find_closest_color
closest = find_closest_color("#FF0000")
print(f"Use {closest['name']} (Code: {closest['code']})")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pindouai-0.1.0.tar.gz.
File metadata
- Download URL: pindouai-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a1fd43457c527de460c6d96186b9abd97e0600f06c2e5c3978f3470edcb6cb0
|
|
| MD5 |
3e35f396790073502ef06aa0dbeb5547
|
|
| BLAKE2b-256 |
c2f3e0b560a653729ce5788bc755fc81a57c0adc8616b07cc87e553336349e05
|
File details
Details for the file pindouai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pindouai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1e0e79a189aff393f104f13f929100313dc6db88e5d203a29b053740db83c23
|
|
| MD5 |
779c0ce0f906983074538f39743a01c6
|
|
| BLAKE2b-256 |
0c478f8ce1f99cec1b65ba86cb35f288cfbfd54304aa3b6013fb5dc741a70cf7
|