-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Description
What happened?
I'm attempting to make a modified version of the built-in "C9 2" palette, but I'm unable to get an identical custom palette to render the same. I initially tried copying the palette values from the source and uploading them to palette0.json on the /edit page, but the colors were off (way less green, much more red overall, if that's helpful). Then I tried duplicating C9 2 using the Custom Palette Editor in the UI, but the result was the same. I attempted to manually correct the gamma in case this was similar to #3399 , but that things substantially worse, so I don't think that's it.
The UI sort of seems to acknowledge the issue (this is just the C9 2 palette duplicated as a custom palette):
But on the Custom Palette Editor, they appear the same.
C9 2:
Custom 2:
The actual rendered colors do look more like what the UI for the palette selection is showing (darker, more pronounced reds), but I can't figure out why or what I need to adjust to mimic C9 2.
To Reproduce Bug
- Create a custom palette with:
0, 6, 126, 2,
45, 6, 126, 2,
46, 4, 30, 114,
90, 4, 30, 114,
91, 255, 5, 0,
135, 255, 5, 0,
136, 196, 57, 2,
180, 196, 57, 2,
181, 137, 85, 2,
255, 137, 85, 2- Upload using
/edit, reboot - Select palette
-- or -- - Go to Custom Palette Editor
- Copy C9 2 to palette editor
- Duplicate each midpoint to eliminate gradients
- Save as a custom palette and apply.
Expected Behavior
I would expect a custom palette with the same values as the built-in C9 2 to render the same.
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.15.3 (2508020)
Which microcontroller/board are you seeing the problem on?
ESP32-C3
Relevant log/trace output
Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct