Puzzle inspired by @ageblue-aka-varnah-g.
The number in each cell indicates the number of cells in the 3x3 square centered on it which share its color, including itself. The only colors that appear in the puzzle are the four shown. Fill in the white cells.
I used a font that will hopefully cooperate with the bucket tool in your favorite image editor.
I'm like 90% certain the puzzle is solvable and not contradictory but I made a lot of mistakes while making it and can't guarantee I didn't miss any while troubleshooting.
UPDATE: @ann-decart found an error, and I updated the original post with what I think should be a fixed version. (It was an ambiguity error, not a contradiction error, so any work anyone may have already done toward solving should still be valid.)










