Black absorbs heat more so than lighter colors... therefore under direct light the black housing will collect more heat than a lighter colored rock...
I have very little experience with Coralife heaters measuring air temps... but they have failed me in measuring water temps many times (multiple units) and have therefore completely lost my trust...