How can I get in a rainbow the same amount of perceived light in

How can I get in a rainbow the same amount of perceived light in each of the colors?

I only use one LED (Neopixel)
I’ve been trying for months …

Can you give some more detail about what you are wanting to do?

Of course, the project is very simple but very difficult …

When cycle through the rainbow I want the same amount of perceived light.

Summary; Luminance uniformity.

The code is here Overview · FastLED/FastLED Wiki · GitHub

I just modified it for one led;

#include “FastLED.h”

CRGB leds[1];

void setup() { FastLED.addLeds<NEOPIXEL, 6>(leds, 1); }

void loop() {
static uint8_t hue = 0;
FastLED.showColor(CHSV(hue++, 255, 255));
delay(10);
}

Materials;
Arduino, one Neopixel.