All colour tools are written with mathematical code. (Lossy) LUTs are not involved in any of the tools.