Questions & Answers about Ni konstatis, ke la koloro ŝanĝiĝis.
Ke introduces a subordinate clause and usually corresponds to English that.
So:
- Ni konstatis = We noticed / We observed / We found out
- ke la koloro ŝanĝiĝis = that the color changed / had changed
In Esperanto, ke is the normal way to connect these two parts of the sentence.
In Esperanto, a comma is very commonly used before a subordinate clause introduced by words like ke, ĉar, se, and so on.
So the comma in:
Ni konstatis, ke la koloro ŝanĝiĝis.
helps mark the break between:
- the main clause: Ni konstatis
- the subordinate clause: ke la koloro ŝanĝiĝis
You may sometimes see slight variation in punctuation style, but this comma is standard and very natural.