Color filter incorporated in the active matrix substrate