generate styling for higher primes