NeoPixel setBrightness function

How do i calculate brightness for NeoPixel without using strip.setBrightness(25)? I need to set some 100% and others 25%.

Hmm, could this work for you?

// create a color, in this case WHITE
int red = 255;
int green = 255;
int blue = 255;

// set pixel 0 to full white
strip.setPixelColor(0, red, green, blue);

// set pixel 1 to 25% white
strip.setPixelColor(1, red/4, green/4, blue/4);