A fluid ejection device includes: a fluid chamber into which fluid flows; a volume varying unit that varies the volume of the fluid chamber; an inlet fluid channel and an outlet fluid channel intercommunicating with the fluid chamber; a fluid ejection port that ejects fluid flowing out from the outlet fluid channel; a fluid supply unit that supplies fluid into the inlet fluid channel; a controller that controls the variation of the volume of the fluid chamber by the volume varying unit; and a color detector that detects color of a fluid ejection target area facing the fluid ejection port, wherein the controller controls the variation of the volume of the fluid chamber by the volume varying unit in accordance with the color detected by the color detecting unit.
展开▼