Fix RGB gradient and remove "island" gradient
Standardize code formatting