Using lsor many other commands, we can get colorful results as follows:

But if these results are too large, and after we pass these results in less, the color will disappear.
This is the result ls -l | less:

- Why color fades.
- How to make the result
ls | lesscolor?
source
share