It's learned. I don't think I was ever in a band that wrote songs with a Gb or a Db in the chord structure. However F#m cropped up all the time and Bb and Eb often came up too. A, D, G all the time. Heck, I only just discover B# and Cb aren't made up!