单项选择题

用于为画布分配颜色的函数是()

A.imagefill()
B.imagecreate()
C.imagecolorallocate()
D.imagecolor()