gtk3: some style font color detection code. mostly works, maybe.