Is there somebody who can tell me what this is?

I think it is a fungi

Was on the rock early yesterday morning.

During the day and in the sun it turned a bit darker yellow to brown.

This morning I opened it up and it was black  inside

with this thin layer of yellowish stuff on top.

By Posted in Nature Tagged