prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.8k stars 1.94k forks source link

Use RGB color options for Preview #11213

Open WhiteDragonD opened 1 year ago

WhiteDragonD commented 1 year ago

Description of the bug

With HueForge becoming popular, I'm using the Preview tool to look at the different colors on the layers. When right clicking on the slider to change the filament color, the most common way to get the real color is to google RGB and it gives you the value. Can you add an in put box to insert a RGB value to put the color on the layer slider?

Project file & How to reproduce

Open STL, Slice, add manual filament change, right click to open the color dialog. Add RGB box. aka when I google Blue RGB, the value is: #0000FF

prusaslicercolorRGB

Checklist of files included above

Version of PrusaSlicer

2.6.0

Operating system

Windows 10

Printer model

Prusa i3 mk2.5s

andersholck commented 1 year ago

0000FF is a 8 bit HEX value, not an RGB value.

PrusaSlicer uses the OS system color picker. The windows standard color picker only includes two numerical color system input fields: 8 bit HSL and 8 bit RGB. macOS includes a lot more: HSB, RGB, HEX, CMYK, GREY etc. and color picking directly from the screen.

If you search the windows store for microsoft powertoys, its a free system extension from microsoft that has a lot of small enhancements to windows, and that enables you to pick colours on screen with Win+shift+c and directly display the colorvalue in HEX, RGB and HSL, so you can pick a color directly from the HueForge screen and get the numerical color value to plug into PrusaSlicer in HSL or RGB.

WhiteDragonD commented 1 year ago

I'm going to write up another enhancement that's more clear into the enhancement request..............................