Central heterochromia shows a distinct, often sharply-edged ring of colour around the pupil against a differently-coloured outer iris; hazel shows a more blended, gradual mix of tones without a sharply defined ring.
Some classification systems treat a pronounced hazel 'sunburst' pattern as a form of central heterochromia rather than a separate category, so the two labels genuinely overlap in practice.
Close, well-lit photography is needed to see the ring/blend distinction clearly — casual photos often can't distinguish the two.
No photograph or online colour-picker tool can definitively classify which of these categories a specific pair of eyes belongs to — classification is inherently somewhat subjective, and lighting/camera effects change the apparent result.