Filling colors in canvas

my question is that i can try making canvas in html but i can’t do fill colors in canvas so please solve my problem