The following link states "Setting this property is more efficient than using a separate Rectangle."
However you get the warning (and no window shown):
Warning: QQml_colorProvider: no color provider has been set!
QQmlApplicationEngine failed to load component
main.qml:13 Invalid property assignment: color expected
If I change to using an ApplicationWindow from QtQuick.Controls then it works fine.