Task Colors (and dates) - What's The Key?

Task Colors (and dates) - What's The Key?

Hi guys,

I can't figure out the color key to the tasks in a list under an "upcoming milestone".

Today is August 11.
I have a Milestone with an End Date of August 14, it says (3 days to go)

I have a High Priority Task with a Start Date of today- Aug 11 and a Duration of 4 days. Its Due Date is showing as Aug 14. It is colored RED.

I have a High Priority Task with a Start Date of Aug 10 and a duration of 4 days. Its Due Date is showing as Aug 13. It is colored RED.

I have a High Priority Task with a Start Date of Aug 10 and a Duration of 2 days. Its Due Date is showing as Aug 11. It is colored ORANGE.

I have a High Priority Task with a Start Date of Aug 10 and a Duration of 0 days and its Due Date is showing as Aug 10. It is colored ORANGE.

I have a High Priority Task with a Start Date of Aug 10 and a Duration of 1 day and its Due Date is showing as Aug 10. It is colored ORANGE.

The duration / due date calculations seem to have a discrepancy (especially between the Milestone and the Task).

The color scheme also seems a bit...confusing? What is the key to why these tasks have the colors they do?

Thanks very much,
Buck