If an egg turns blue, it had died and then became dyed as the outer membrane broke down.
1	If	if	SCONJ	IN	_	4	mark	4:mark	_
2	an	a	DET	DT	Definite=Ind|PronType=Art	3	det	3:det	_
3	egg	egg	NOUN	NN	Number=Sing	4	nsubj	4:nsubj|5:nsubj:xsubj	_
4	turns	turn	VERB	VBZ	Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin	9	advcl	9:advcl:if	_
5	blue	blue	ADJ	JJ	Degree=Pos	4	xcomp	4:xcomp	SpaceAfter=No
6	,	,	PUNCT	,	_	9	punct	9:punct	_
7	it	it	PRON	PRP	Case=Nom|Gender=Neut|Number=Sing|Person=3|PronType=Prs	9	nsubj	9:nsubj|12:nsubj|13:nsubj:xsubj	_
8	had	have	AUX	VBD	Mood=Ind|Number=Sing|Person=3|Tense=Past|VerbForm=Fin	9	aux	9:aux	_
9	died	die	VERB	VBN	Tense=Past|VerbForm=Part	0	root	0:root	_
10	and	and	CCONJ	CC	_	12	cc	12:cc	_
11	then	then	ADV	RB	PronType=Dem	12	advmod	12:advmod	_
12	became	become	VERB	VBN	Tense=Past|VerbForm=Part	9	conj	9:conj:and	_
13	dyed	dyed	ADJ	JJ	Degree=Pos	12	xcomp	12:xcomp	_
14	as	as	SCONJ	IN	_	18	mark	18:mark	_
15	the	the	DET	DT	Definite=Def|PronType=Art	17	det	17:det	_
16	outer	outer	ADJ	JJ	Degree=Pos	17	amod	17:amod	_
17	membrane	membrane	NOUN	NN	Number=Sing	18	nsubj	18:nsubj	_
18	broke	break	VERB	VBD	Mood=Ind|Number=Sing|Person=3|Tense=Past|VerbForm=Fin	12	advcl	12:advcl:as	_
19	down	down	ADP	RP	_	18	compound:prt	18:compound:prt	SpaceAfter=No
20	.	.	PUNCT	.	_	9	punct	9:punct	_
