Skip to content

Custom palette copy of "C9 2" doesn't render the same as C9 2 [fixed in 0.16] #5195

@Sammy1Am

Description

@Sammy1Am

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):

Image Image

But on the Custom Palette Editor, they appear the same.
C9 2:

Image

Custom 2:

Image

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

  1. 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
  1. Upload using /edit, reboot
  2. Select palette
    -- or --
  3. Go to Custom Palette Editor
  4. Copy C9 2 to palette editor
  5. Duplicate each midpoint to eliminate gradients
  6. 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

Metadata

Metadata

Assignees

Labels

bugfixed in sourceThis issue is unsolved in the latest release but fixed in master

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions