So Im programming in Lua and I need to know this: Is there a way to detect the non-deco color of an element? Like detecting the color of WAX witch isnt decoed would result in 0xFFF0F0BB and for BRCK would result in 0xFF808080.
Not perfectly, no. Elements have a Color property which is their default colour, but this is a lossy representation of the element's visual behaviour, as elements are free to implement complicated graphics functions that change their visuals as a function of particle properties.