Skip to main content

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']})")

Metadata

Release files for pindouai 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pindouai 0.1.0
File Size Uploaded
pindouai-0.1.0.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pindouai 0.1.0
File Interpreter ABI Platform
pindouai-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / pindouai-0.1.0.tar.gz

Download URL pindouai-0.1.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8a1fd43457c527de460c6d96186b9abd97e0600f06c2e5c3978f3470edcb6cb0
BLAKE2b-256 checksum
How to use checksums
c2f3e0b560a653729ce5788bc755fc81a57c0adc8616b07cc87e553336349e05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / pindouai-0.1.0-py3-none-any.whl

Download URL pindouai-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1e0e79a189aff393f104f13f929100313dc6db88e5d203a29b053740db83c23
BLAKE2b-256 checksum
How to use checksums
0c478f8ce1f99cec1b65ba86cb35f288cfbfd54304aa3b6013fb5dc741a70cf7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page