Usually we help, we don't give, but since you are new here, here is a complete lisp.
(defun c:ChangeHatchColor ()
(vl-load-com)
(vlax-for blk (vla-get-Blocks (vla-get-ActiveDocument (vlax-get-Acad-Object)))
(vlax-for i blk
(if (= (vla-get-ObjectName i) "AcDbHatch")
(vla-put-Color i 250)
)
)
)
(command "_.regenall")
(princ)
)