A photosensitive composition contains a photosensitive resin and a
colorant. The photosensitive resin includes (A) a copolymer of (a1) at
least one first polymerizable monomer containing 2 to 6 hydroxyl groups
with (a2) at least one second polymerizable monomer other than the first
polymerizable monomer, and (B) at least one compound (B) containing an
ethylenically unsaturated double bond and a functional group capable of
reacting with hydroxyl group. The compound (B) has been reacted with the
copolymer (A). A color filter has at least one filter segment formed
using the photosensitive composition.