After loading a model from Makerword.com it is difficult to identify some of the colors used in the model. It would be nice if the Bambu Studio Color Picker “Click to select filament color” would show the following: Hex color code (so I don’t have to look it up or calculate it), the closest Bambu color code with a note if exact match or not). I’ve had ChatGPT generate an .html script so that I can input the RGB codes from the Bambu Studio Color picker. The script provides the HEX code, and closest matching Bambu Color name, hex code and Bambu color code (example: I input RGB of 157, 67, 44; I get back: HEX code 9D432C , Brown, PLA Basic (10800).
It would be so nice to have this built into Bambu Studio.
If I put in an RGB code that doesn’t exactly match a Bambu Color, the script finds the closest bambu color and gives me the information for it. The script I uploaded for this actually reads the 3MF file, you don’t type in RGB codes. You drag the 3MF onto the webpage or browse to the 3MF file.
Can you post the script/file, that sounds really useful since I always have troubles finding out which color is which and the color codes/name are not given in bambulab
Not OP but I did the same thing, but this forum doesn’t allow us to include HTML, text files or hyperlinks so I’m not really sure how to share the script.
If you put this prompt into ChatGPT5 it should spit out a working HTML page for you:
“Make me a simple HTML page that lets me input a color as a hexcode or as Red/Green/Blue values, and it will show me the Bambu Lab PLA filament color that matches my input color the closest. The possible values for Bambu Lab PLA filament colors are: Jade White Hex:#FFFFFF Magenta Hex:#EC008C Gold Hex:#E4BD68 Mistletoe Green Hex:#3F8E43 Red Hex:#C12E1F Purple Hex:#5E43B7 Beige Hex:#F7E6DE Pink Hex:#F55A74 Sunflower Yellow Hex:#FEC600 Bronze Hex:#847D48 Turquoise Hex:#00B1B7 Indigo Purple Hex:#482960 Light Gray Hex:#D1D3D5 Hot Pink Hex:#F5547C Yellow Hex:#F4EE2A Cocoa Brown Hex:#6F5034 Cyan Hex:#0086D6 Blue Grey Hex:#5B6579 Silver Hex:#A6A9AA Orange Hex:#FF6A13 Bright Green Hex:#BECF00 Brown Hex:#9D432C Blue Hex:#0A2989 Dark Gray Hex:#545454 Gray Hex:#8E9089 Pumpkin Orange Hex:#FF9016 Bambu Green Hex:#00AE42 Maroon Red Hex:#9D2235 Cobalt Blue Hex:#0056B8 Black Hex:#000000”
The HTML file is over 800 lines long and contains a table with all the filaments I own. I have removed most of my filaments to make the file smaller. You will need to input your own colors. You should be able to save the file to your computer and double click it. Then you can mark it as a favorite. If you add/remove filament from your inventory you will need to update the file. The “Code” field in the HTML file is the Bambu Lab code for the filament and should be 0 if the filament is not from Bambu Lab. I had to look up the HEX color code for each filament and add to the HTML. Here is the code: Analyze .3MF File and Select Filament Colors · GitHub
You should be able to upload this to another AI program and ask it to modify it the way you want. The program will allow you to select the type of color matching; allow you to select all or one or more of the types of filament you own; select either 3 or 5 of the top matches; copy the best matches to the clipboard or print them; if you print them be sure to select the page numbers to print since the HTML printer interface creates a lot of blank pages.
Thankyou so much for sharing this wonderful and very useful script. I’ve loaded all my colours.
Delta E 94 and Delta E 2000 have trouble matching to black
Delta E 94
Input Color 2: #000000 (filtered to PLA Basic - 30 colors) [deltaE94] - Top 3
1. Jade White (#FFFFFF)
Type: PLA Basic
Code: 10001
Location: PLA 01
Distance: NaN (deltaE94)
2. Beige (#F7E6DE)
Type: PLA Basic
Code: 10201
Location: PLA 02
Distance: 92.72 (deltaE94)
3. Light Grey (#D1D3D5)
Type: PLA Basic
Code: 10104
Location: PLA 03
Distance: NaN (deltaE94)
Delta E 2000
Input Color 2: #000000 (filtered to PLA Basic - 30 colors) [deltaE00] - Top 3
1. Cobalt Blue (#0056B8)
Type: PLA Basic
Code: 10604
Location: PLA 21
Distance: 33.64 (deltaE00)
2. Cyan (#0086D6)
Type: PLA Basic
Code: 10603
Location: PLA 20
Distance: 38.73 (deltaE00)
3. Mistletoe Green (#3F8E43)
Type: PLA Basic
Code: 10502
Location: PLA 18
Distance: 39.04 (deltaE00)
The other 3 match perfectly.
I even tried it with a single colour black model and I still got 3 alternate colours
Edit
I ran the code through ChatGPT and it made code suggestions that have fixed the black issue with these 2 delta types.
Once again, many thanks for a great tool from a red deficient colourblind person. It will be used often.
I updated this post. The HTML program that is linked actually reads the 3MF file. The original program required input of RGB codes. I redesigned the program to read the actual 3MF file. I use this all the time. I have over 100 spools of filament.
Can you post the changes you made? I’d like to see them.
I can’t upload it so I’ll post the chatGPT here:
Here is a dropbox link to the file. Just take off the txt extension.
WOW, thank you so much for this!!
This would actually be super useful, especially for matching filament colors from logos or reference images. I’ve been using https://colorpickerimage.org/ to grab hex codes from photos/screenshots first, then manually finding the closest Bambu color after that. Having both steps built into the picker would save a ton of time.