I can't seem to find what I am looking for so maybe someone could

I can’t seem to find what I am looking for so maybe someone could answer a stupid question for me. Are CRGB array elements of type BYTE or INT. I am asking because when I compile a very simple basic script in arduino the amount of ram used for variables seems high for BYTE but low for INTs.

They’re neither - they’re of type CRGB - each of which is 3 bytes long.

I thought it should be 1 byte for red, 1 byte for blue and 1 byte for green or 3 bytes per pixel. My script is a simple “BLINK” script using 112 APA104 leds plus 1 integer counter variable. When I compile arduino says the script is using 457 bytes for global variables.

Yes - a CRGB object is 3 bytes - for 112 leds, that would be 336 bytes. However that is not the only global variable in the compiled code - FastLED has a handful of internal objects that it uses, and other pieces of the arduino core code will as well.

Thanks Daniel, I just wanted to know where the memory usage was since I still need to setup FHT library for my project and add some more arrays.