Sheet and Text color as done in iTunes

Why not just use a HTLViewer and the ColorThief JS library and then return the colours via the status or title hacks (or if Mac only, a declare/macoslib or MBS for cross-platform)…