Optical Phenomena

Why are the squares gradients? They’re the same colour all the way across. ( https://javisperez.github.io/tailwindcolorshades/?shamrock=61d2a4  )